Oracle Interview Experience Leetcode Javascript Question