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

Join this channel to get access to perks:    / @nikoo28   Actual problem on LeetCode: https://leetcode.com/problems/min-sta... Chapters: 00:00 - Intro 00:37 - Problem Statement 02:46 - A naive approach 04:47 - Efficient Method 09:02 - Dry run of Code 12:16 - Final Thoughts 📚 Links to topics I talk about in the video: Stacks:    • Stack Data Structure explained with animat...   Stack using two queues:    • Implement Stack using Queues (LeetCode 225...   Queues:    • Queue Data Structure explained with animat...   Queue using two stacks:    • Implement Queue using Stacks (LeetCode 232...   Other Medium Problems:    • Medium Problems   📘 A text based explanation is available at: https://studyalgorithms.com Code on Github: https://github.com/nikoo28/java-solut... Test-cases on Github: https://github.com/nikoo28/java-solut... 📖 Reference Books: Starting Learn to Code: https://amzn.to/3sJm8Wl Favorite book to understand algorithms: https://amzn.to/4848xJH Favorite book for data structures: https://amzn.to/3P96YBv Get started for interview preparation: https://amzn.to/44Nn5du 🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg... 🎥 My Recording Gear: Recording Light: https://amzn.to/3PdsViT Microphone: https://amzn.to/3Exv83x Recording Camera: https://amzn.to/3PwyN8e Tablet to sketch and draw: https://amzn.to/3ZdKVy7 Sketching Tool: https://amzn.to/45XJEgY Laptop to edit videos: https://amzn.to/460ofDu 💻 Get Social 💻 Follow on Facebook at:   / studyalgos   Subscribe to RSS feeds: https://studyalgorithms.com/feed/ Join fan mail: http://eepurl.com/g9Dadv #leetcode #programming #interview

Rotting Oranges (LeetCode 994) | Full solution using DFS | Flood Fill algorithm
▶︎

Rotting Oranges (LeetCode 994) | Full solution using DFS | Flood Fill algorithm

Design a Min Stack | Optimal Solution & Code
▶︎

Design a Min Stack | Optimal Solution & Code

Valid Parentheses (LeetCode 20) | Full solution with visuals and animations | Stack Data Structure
▶︎

Valid Parentheses (LeetCode 20) | Full solution with visuals and animations | Stack Data Structure

Are we really doing this again
▶︎

Are we really doing this again

Number of Islands (LeetCode 200) | Full solution with a DFS and a BFS approach
▶︎

Number of Islands (LeetCode 200) | Full solution with a DFS and a BFS approach

Koko Eating Bananas (LeetCode 875) | Full solution with beautiful diagrams and visualizations
▶︎

Koko Eating Bananas (LeetCode 875) | Full solution with beautiful diagrams and visualizations

How I would learn Leetcode if I could start over
▶︎

How I would learn Leetcode if I could start over

Design Min Stack - LeetCode155 | Full Explanation with JAVA Code
▶︎

Design Min Stack - LeetCode155 | Full Explanation with JAVA Code

Largest Rectangle in Histogram | Best Solution & Code
▶︎

Largest Rectangle in Histogram | Best Solution & Code

Best Time To Buy & Sell Stock 1 (LeetCode 121) | Full solution with visuals and animation
▶︎

Best Time To Buy & Sell Stock 1 (LeetCode 121) | Full solution with visuals and animation

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup
▶︎

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

تلاوة القرآن للدراسة والتركيز 📚🕛 | راحة وطمأنينة | Peaceful Focus Quran | محمد هشام
▶︎

تلاوة القرآن للدراسة والتركيز 📚🕛 | راحة وطمأنينة | Peaceful Focus Quran | محمد هشام

How I Approach a New Leetcode Problem (live problem solving)
▶︎

How I Approach a New Leetcode Problem (live problem solving)

Design Min Stack - Amazon Interview Question - Leetcode 155 - Python
▶︎

Design Min Stack - Amazon Interview Question - Leetcode 155 - Python

L79. Implement Queue using Stack & Stack using Queue
▶︎

L79. Implement Queue using Stack & Stack using Queue

Jump Game (LeetCode 55) | Full solution with animations and visuals | Greedy Algorithms
▶︎

Jump Game (LeetCode 55) | Full solution with animations and visuals | Greedy Algorithms

LeetCode was HARD until I Learned these 15 Patterns
▶︎

LeetCode was HARD until I Learned these 15 Patterns

L8. Trapping Rainwater | 2 Approaches | Stack and Queue Playlist
▶︎

L8. Trapping Rainwater | 2 Approaches | Stack and Queue Playlist

LeetCode 155. Min Stack (Algorithm Explained)
▶︎

LeetCode 155. Min Stack (Algorithm Explained)

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours
▶︎

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours