Recursive backtracking related questions