Stack – Data Structures & Algorithms Tutorial In Python #7
307.3K views on YouTube
What is stack?: Stack is a very important data structure in any programming language. In this data structure tutorial, we will discuss what is stack and implement stack in python using a list and collections.deque. In the end there are couple of exercises for you to solve.
Code: https://github.com/codebasics/data-structures-algorithms-python/tree/master/data_structures/5_Stack/5_stack.ipynb
Exercise: https://github.com/codebasics/data-structures-algorithms-python/tree/master/data_structures/5_Stack/5_stack_exercise.md
Topics
00:00 Introduction
00:14 What is stack?
04:51 Stack in different languages
05:06 Using list as a stack
07:50 Using deque as a stack
11:50 Exercise
#stack #stackdatasstructure #datastructures #algorithms #python
Do you want to learn technology from me? Check https://resources.codebasics.io/UW1ohg for my affordable video courses.
Next Video: https://www.youtube.com/watch?v=rUUrmGKYwHw&list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12&index=8
Previous video: https://www.youtube.com/watch?v=54iv1si4YCM&list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12&index=6
Complete playlist:https://www.youtube.com/playlist?list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12
๐ My Website For Video Courses: https://resources.codebasics.io/UW1ohg
Need help building software or data analytics and AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.
#๏ธโฃ Social Media #๏ธโฃ
๐ Discord: https://discord.gg/r42Kbuk
๐ธ Codebasics Instagram: https://www.instagram.com/codebasicshub/
๐ Codebasics Facebook: https://www.facebook.com/codebasicshub
๐ Codebasics LinkedIn: https://www.linkedin.com/company/codebasics/
๐ฑ Codebasics X handle: https://twitter.com/codebasicshub
๐ธ Dhaval’s Instagram: https://www.instagram.com/dhavalsays/
๐ Dhaval’s LinkedIn: https://www.linkedin.com/in/dhavalsays/
๐ฑ Dhaval’s X handle: https://x.com/dpcodebasics
๐ Patreon: https://www.patreon.com/codebasics?fan_landing=true