Bytesnack
PatternsAI roundsLearnFlashcardsDownloads
Learn / Data structures / Min Stack (LeetCode 155): Full Solution with animations using 2 stacks

Min Stack (LeetCode 155): Full Solution with animations using 2 stacks

Lesson 37 of 40 · 13:19 · 25 Feb 2025

In this lesson

Previous lesson Implement Stack using Queues (LeetCode 225): Using single and 2 queuesNext lesson Time Based Key Value Store (LeetCode 981): Using Map and composite structure

Keep your place

Sign in to mark the lessons you've watched across every track.

Data structures

  1. 34Dijkstra's Algorithm: Shortest Path in Graph Step by Step Demo
  2. 35Graph Coloring Problem: Step by Step demo Greedy approach
  3. 36Implement Stack using Queues (LeetCode 225): Using single and 2 queues
  4. 37Min Stack (LeetCode 155): Full Solution with animations using 2 stacks
  5. 38Time Based Key Value Store (LeetCode 981): Using Map and composite structure
  6. 39Sliding Window Maximum (LeetCode 239) — 48 Companies Ask This! Step-by-Step Deque Approach
  7. 40I Learned Data Structures for Interviews. They Fixed My Life
All 40 lessons
PatternsAI roundsLearnFlashcardsDownloads1:1 sessionsRefundsContactPrivacyTermsMore  (opens in a new tab)© 2026