Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 289 / 291 1200
Subarray minimum 255 / 267 1300
Peak Product 223 / 230 1400
Histogram 210 / 212 1500
Maximum subsequence value 146 / 159 1600
Deleting digits 169 / 176 1600
Electric poles 75 / 113 1700
Planting flowers 67 / 79 1700
Ring road 35 / 46 1700
Prefix minimum 65 / 83 1900
Knee surgery 41 / 48 1900