Stacks in Python Tutorial - Data Structures for Coding Interviews
A stack is a collection of elements with the unique feature being that they are last in, first out. Think of it like a stack of plates. The first plate you take off is the last one you put on top of the stack.
Today we’re going to cover absolutely everything you need to know about stacks for coding interviews, including important operatons, time and space complexities, and at the end, we’ll do a coding question together.
? Chapters
0:00 - Intro
0:27 - Stack Operations
1:31 - When to Use Stacks
2:31 - Example Interview Problem
7:08 - Monotonic Stacks
? Series
https://www.youtube.com/watch?v=RcZsTI5h0kg&t=0s
https://www.youtube.com/watch?v=7gWFRA0V0OE
? Resources
Daily Temperatures - https://leetcode.com/problems/daily-temperatures/description/
#datastructures #softwareengineer #python