Community

Start a Thread


Notifications
Subscribe You’re not receiving notifications from this thread.

Next Larger In A Circular Array (Main Thread)

Challenges • Asked about 5 years ago by Anonymous

Jake from AlgoDaily Commented on Nov 12, 2019:

This is the main discussion thread generated for Next Larger In A Circular Array.

Anonymous Commented on Nov 12, 2019:

in the case [ 11, 13, 21, 3 ] shouldn't the answer be [ 13, 21, -1, 11 ] ?
it seems 11 -> 13, 13 -> 21, 21 -> -1 for 3 we loop back to the start so 3 -> 11