1 Comment
User's avatar
IHateLeetcode's avatar

Great solution. Your explanations of why Monotonic Stacks should be used is clear.

Expand full comment