Leetcode Maximum Recursion Python W3schools Matplotlib