Java Basic Questions Leetcode Interview Problems