Do Java And Python Coding Practice Leetcode Problem