Next Greater Integer Leetcode Solutions With Explanation