Oracle interview question

Explain backtracking algorithm with example