1019. Next Greater Node In Linked List https://leetcode.com/problems/next-greater-node-in-linked-list
1944. Number of Visible People in a Queue https://leetcode.com/problems/number-of-visible-people-in-a-queue
1475. Final Prices With a Special Discount in a Shop https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop
901. Online Stock Span https://leetcode.com/problems/online-stock-span
402. Remove K Digits https://leetcode.com/problems/remove-k-digits
853. Car Fleet https://leetcode.com/problems/car-fleet
581. Shortest Unsorted Continuous Subarray https://leetcode.com/problems/shortest-unsorted-continuous-subarray
Prerequisites
Before reading this article, you need to learn:
This article provides more variations of the monotonic stack template. Some classic problems discussed later can be abstracted into the following standard scenarios. You can directly copy and paste the code to solve them.