Leetcode Next Greater Element Geeksforgeeks Cpp