Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 363 / 365 1200
Subarray minimum 321 / 333 1300
Peak Product 281 / 289 1400
Histogram 261 / 265 1500
Maximum subsequence value 173 / 188 1600
Deleting digits 210 / 219 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