Stack Study Guide

Basic Stack Operations

Fundamental problems that introduce the concept and basic usage of stacks.

Practice Problems

Mathematical Operations and Expression Evaluation

Problems involving arithmetic operations and evaluating mathematical expressions using stacks.

Practice Problems

Parentheses Matching and Processing

Problems that involve validating and manipulating strings with parentheses using stacks.

Practice Problems

Two Stacks

Problems that require the use of two stacks to solve efficiently.

Practice Problems

Monotonic Stack

Problems involving monotonic stacks, where elements are always sorted.

Practice Problems

Histogram and Interval Problems

A subset of monotonic stack problems dealing with histograms and intervals.

Practice Problems

Problem Difficulty Legend

  • 🟩 Easy
  • 🟨 Medium
  • 🟧 Medium-Hard
  • 🟥 Hard
  • ⬛ Very Hard

Additional Resources