Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 251 / 252 1200
Subarray minimum 224 / 235 1300
Peak Product 197 / 204 1400
Histogram 186 / 188 1500
Maximum subsequence value 122 / 131 1600
Deleting digits 141 / 149 1600
Electric poles 61 / 93 1700
Planting flowers 54 / 64 1700
Ring road 31 / 40 1700
Prefix minimum 53 / 69 1900
Knee surgery 31 / 37 1900