Next Greater Element Leetcode Stack