Basics 0/97

Stacks and queues · 2 of 2

Monotonic stack

Find the next warmer day, the nearest smaller value and the maximum of every window in one pass each, by popping the entries a new value makes useless.

3,900 words · 18 min read

0 of 5 solved

Difficulty: how hard each problem is if its topic is new to you.

Core 5