Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 371 / 373 1200
Subarray minimum 329 / 341 1300
Peak Product 284 / 292 1400
Histogram 265 / 269 1500
Maximum subsequence value 175 / 191 1600
Deleting digits 212 / 221 1600
Electric poles 90 / 133 1700
Planting flowers 80 / 95 1700
Ring road 46 / 60 1700
Prefix minimum 78 / 99 1900
Knee surgery 57 / 65 1900