I have some doubts regarding backtracking, I had spent a lot of time in understanding the logic behind it and finally understood the logic using N Queens problem but when I am trying to write the program I am having some problem, I am not getting any ideas how to backtrack to the last call.
Please help.