Problem library

Stack

All problems that are about stack.

48 / 48 problems
Problem Solved
Steps to make array non decreasing
stack dynamic-programming
Jan 5, 2023
Finding the number of visible mountains
stack
Jan 3, 2023
Minimum remove to make valid parentheses
stack
Dec 28, 2022
Backspace string compare
stack
Dec 20, 2022
Maximum number of books you can take
stack
Dec 19, 2022
Ternary expression parser
stack
Dec 17, 2022
Maximum nesting depth of two valid parentheses strings
stack
Dec 12, 2022
Removing stars from a string
stack
Dec 11, 2022
Print immutable linked list in reverse
linked-list stack
Nov 29, 2022
Check if word is valid after substitutions
stack
Nov 26, 2022
Next greater node in linked list
linked-list stack
Nov 26, 2022
Add two numbers II
linked-list stack
Nov 25, 2022
Sum of subarray minimums
stack
Nov 25, 2022
Final prices with a special discount in a shop
stack
Nov 23, 2022
odd-even-jump
dynamic-programming stack
Nov 22, 2022
132 pattern
stack
Nov 22, 2022
Maximum frequency stack
stack design
Nov 13, 2022
Maximum nesting depth of the parentheses
stack
Nov 10, 2022
Remove all adjacent duplicates in string II
stack
Nov 10, 2022
Remove all adjacent duplicates in string
stack
Nov 10, 2022
Score of parentheses
stack
Nov 10, 2022
Online stock span
stack
Nov 9, 2022
Make the string great
stack
Nov 8, 2022
Next greater element II
stack
Nov 5, 2022
Reverse vowels of a string
stack
Nov 4, 2022
Baseball game
stack
Oct 6, 2022
Asteroid collision
stack
Oct 3, 2022
Minimum insertions to balance a parentheses string
stack greedy
Sep 16, 2022
Minimum number of swaps to make the string balanced
stack
Sep 9, 2022
Design a stack with increment operation
design stack
Sep 6, 2022
Basic calculator II
stack
Sep 5, 2022
Basic calculator III
stack
Sep 5, 2022
Basic calculator
stack
Sep 5, 2022
Longest absolute file path
stack
Sep 5, 2022
Remove duplicate letters
stack
Sep 5, 2022
Verify preorder serialization of a binary tree
stack
Sep 4, 2022
Decode string
stack
Sep 3, 2022
Simplify path
stack
Aug 29, 2022
Validate stack sequences
stack
Aug 28, 2022
Remove k digits
stack
Aug 27, 2022
Next greater element I
stack
Aug 14, 2022
Car fleet
stack
Jul 30, 2022
Daily temperatures
stack
Jul 30, 2022
Largest rectangle in histogram
stack
Jul 30, 2022
Generate parentheses
stack
Jul 29, 2022
Evaluate reverse polish notation
stack
Jul 19, 2022
Min stack
stack design
Jul 19, 2022
Valid parentheses
stack
Jul 16, 2022