Skip to content

1.3 Stacks

Array and linked stack implementations covering push, pop, monotonic stacks, expression evaluation, and thread-safe variants.

indexslugname
1array-stackArray Stack
2linked-stackLinked Stack
3dynamic-stackDynamic Stack
4stack-push-popPush Pop
5stack-minMin Stack
6stack-maxMax Stack
7stack-two-in-oneTwo Stacks
8stack-k-in-oneK Stacks
9stack-using-queueStack via Queue
10stack-recursionRecursion Stack
11stack-call-frameCall Stack
12stack-evaluationExpression Eval
13stack-parenthesesParentheses Check
14stack-monotonicMonotonic Stack
15stack-spanStock Span
16stack-histogramHistogram
17stack-backtrackingBacktracking
18stack-undoUndo Stack
19stack-iteratorIterator
20stack-boundedBounded Stack
21stack-overflowOverflow Handling
22stack-underflowUnderflow Handling
23stack-memory-layoutLayout
24stack-thread-safeThread Safe
25stack-lock-freeLock Free Stack