nums, return an array where the value at each position is the next element to its right that is strictly greater than the value at that position, or -1 if no such element exists.nums, return an array where the value at each position is the next element to its right that is strictly greater than the value at that position, or -1 if no such element exists.// Run your code to see the output here.