Cognizant interview question

What is backtracking?guve one example.