16 Balanced brackets Medium Stacks & Queues

Check if a string of brackets is balanced: ()[]{}

17 Queue using two stacks Medium Stacks & Queues

Implement a FIFO queue using only two stacks.

18 Min stack Medium Stacks & Queues

Design a stack that supports push, pop, and getMin in O(1).

19 Evaluate postfix expression Easy Stacks & Queues

Evaluate a postfix (reverse Polish notation) expression.

21 Valid parentheses string Easy Stacks & Queues

Check if a string of parentheses () is valid.

22 Reverse string with stack Easy Stacks & Queues

Reverse a string using a stack.

42 DFS iterative Easy Graphs

Traverse a graph depth-first using an explicit stack.

134 Evaluate Reverse Polish Notation Medium Stacks & Queues

Evaluate an arithmetic expression in Reverse Polish Notation (postfix).