Stack Data Structure & Algorithms in Python 🧱

Learn what a stack is, its importance, and how to implement it in Python in this comprehensive tutorial.

Stack Data Structure & Algorithms in Python 🧱
codebasics
291.3K views • Mar 31, 2020
Stack Data Structure & Algorithms in Python 🧱

About this video

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://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description 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://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description

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
📸 Dhaval's Personal Instagram: https://www.instagram.com/dhavalsays/
📸 Instagram: https://www.instagram.com/codebasicshub/
🔊 Facebook: https://www.facebook.com/codebasicshub
📝 Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
📝 Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/
📱 Twitter: https://twitter.com/codebasicshub
🔗 Patreon: https://www.patreon.com/codebasics?fan_landing=true

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

291.3K

Likes

5.0K

Duration

13:05

Published

Mar 31, 2020

User Reviews

4.7
(58)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.