Recursion And Backtracking Questions Leetcode 75