Oracle Interview Questions Leetcode 150