Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 372 / 374 1200
Subarray minimum 330 / 342 1300
Peak Product 285 / 293 1400
Histogram 266 / 270 1500
Maximum subsequence value 177 / 193 1600
Deleting digits 212 / 221 1600
Electric poles 90 / 133 1700
Planting flowers 80 / 95 1700
Ring road 46 / 60 1700
Prefix minimum 78 / 99 1900
Knee surgery 57 / 65 1900