Leetcode 2454. Next Greater Element IV | Hello Interview