Next Greater Integer Leetcode Python Problems