Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 151 / 152 1200
Subarray minimum 143 / 146 1300
Peak Product 125 / 129 1400
Histogram 123 / 125 1500
Maximum subsequence value 77 / 87 1600
Deleting digits 86 / 90 1600
Electric poles 40 / 53 1700
Planting flowers 31 / 37 1700
Ring road 21 / 25 1700
Prefix minimum 36 / 46 1900
Knee surgery 15 / 17 1900