Recursion Basic Leetcode Problems For Python