Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 130 / 131 1200
Subarray minimum 119 / 121 1300
Peak Product 104 / 107 1400
Histogram 101 / 103 1500
Maximum subsequence value 65 / 74 1600
Deleting digits 67 / 70 1600
Electric poles 33 / 46 1700
Planting flowers 22 / 25 1700
Ring road 13 / 16 1700
Prefix minimum 28 / 38 1900
Knee surgery 5 / 5 1900