Module Monotonic queue

Monotonic queue

**Frequency: 3/10**

Resources

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

Problems

Nearest position 98 / 99 1200
Subarray minimum 89 / 90 1300
Peak Product 73 / 76 1400
Histogram 75 / 77 1500
Maximum subsequence value 47 / 53 1600
Deleting digits 49 / 51 1600
Electric poles 21 / 31 1700
Planting flowers 11 / 13 1700
Ring road 8 / 10 1700
Prefix minimum 19 / 29 1900