Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 124 / 126 1200
Subarray minimum 116 / 117 1300
Peak Product 103 / 106 1400
Histogram 101 / 103 1500
Maximum subsequence value 65 / 74 1600
Deleting digits 65 / 68 1600
Electric poles 33 / 46 1700
Planting flowers 22 / 25 1700
Ring road 13 / 16 1700
Prefix minimum 27 / 38 1900
Knee surgery 4 / 4 1900