Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 283 / 284 1200
Subarray minimum 250 / 261 1300
Peak Product 219 / 226 1400
Histogram 206 / 208 1500
Maximum subsequence value 142 / 154 1600
Deleting digits 165 / 172 1600
Electric poles 75 / 112 1700
Planting flowers 66 / 78 1700
Ring road 35 / 46 1700
Prefix minimum 64 / 82 1900
Knee surgery 40 / 47 1900