Previous Greater Element Leetcode Javascript Interview Questions