Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

- [USACO: Stacks](https://usaco.guide/gold/stacks?lang=cpp)

Problems

Nearest position 365 / 367 1200
Subarray minimum 322 / 334 1300
Peak Product 282 / 290 1400
Histogram 262 / 266 1500
Maximum subsequence value 173 / 188 1600
Deleting digits 211 / 220 1600
Electric poles 88 / 130 1700
Planting flowers 80 / 95 1700
Ring road 44 / 58 1700
Prefix minimum 77 / 98 1900
Knee surgery 56 / 64 1900