Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 344 / 345 1200
Subarray minimum 306 / 318 1300
Peak Product 267 / 275 1400
Histogram 246 / 250 1500
Maximum subsequence value 166 / 181 1600
Deleting digits 201 / 209 1600
Electric poles 87 / 127 1700
Planting flowers 79 / 92 1700
Ring road 43 / 55 1700
Prefix minimum 76 / 95 1900
Knee surgery 51 / 59 1900