Recursive Backtracking Algorithm Complexity Analysis