Next Greater Element 1 Leetcode