Recursion And Backtracking Leetcode Python Compiler