Do Java And Python Coding Practice Leetcode Problem 1500 Military