Next Greater Number Leetcode Contest