For each height in an array, how far to the right is the next taller one? Return −1 when there is none.
For each height in an array, how far to the right is the next taller one? Return −1 when there is none. Too many requests from your network. Please wait a minute.