Recursion And Backtracking Leetcode Python Beginner Exercises