Next Greater Element In Circular Array Leetcode