503. 下一个更大元素 II 使用单调栈 1234567891011121314151617181920func nextGreaterElements(nums []int) []int { n := len(nums) v