Recursion And Backtracking Leetcode Python Problems