Recursive Backtracking Algorithm Complexity Exercises