Leetcode Recursion And Mathematical Induction