Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 254 / 255 1200
Subarray minimum 225 / 236 1300
Peak Product 197 / 204 1400
Histogram 187 / 189 1500
Maximum subsequence value 124 / 133 1600
Deleting digits 144 / 152 1600
Electric poles 61 / 93 1700
Planting flowers 55 / 65 1700
Ring road 31 / 40 1700
Prefix minimum 54 / 70 1900
Knee surgery 31 / 37 1900