Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 218 / 219 1200
Subarray minimum 197 / 204 1300
Peak Product 167 / 173 1400
Histogram 162 / 164 1500
Maximum subsequence value 100 / 110 1600
Deleting digits 123 / 128 1600
Electric poles 50 / 71 1700
Planting flowers 41 / 49 1700
Ring road 25 / 30 1700
Prefix minimum 45 / 59 1900
Knee surgery 24 / 27 1900