Java Basic Questions Leetcode Interview 15000