Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 280 / 281 1200
Subarray minimum 246 / 257 1300
Peak Product 217 / 224 1400
Histogram 204 / 206 1500
Maximum subsequence value 141 / 153 1600
Deleting digits 164 / 171 1600
Electric poles 72 / 110 1700
Planting flowers 66 / 76 1700
Ring road 34 / 45 1700
Prefix minimum 64 / 82 1900
Knee surgery 39 / 46 1900