Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 225 / 226 1200
Subarray minimum 203 / 212 1300
Peak Product 172 / 178 1400
Histogram 168 / 170 1500
Maximum subsequence value 106 / 116 1600
Deleting digits 127 / 134 1600
Electric poles 52 / 77 1700
Planting flowers 44 / 55 1700
Ring road 25 / 32 1700
Prefix minimum 48 / 62 1900
Knee surgery 25 / 29 1900