Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 172 / 173 1200
Subarray minimum 158 / 163 1300
Peak Product 137 / 141 1400
Histogram 132 / 134 1500
Maximum subsequence value 83 / 93 1600
Deleting digits 94 / 98 1600
Electric poles 44 / 59 1700
Planting flowers 32 / 38 1700
Ring road 21 / 25 1700
Prefix minimum 38 / 48 1900
Knee surgery 17 / 19 1900