Java Basic Questions Leetcode Interview