Leetcode Java Coding Questions