How To Practice Python In Leetcode Problem 643