Do Java And Python Coding Practice Leetcode Problem 90