Watch: Data Structures, Stacks, and Queues in Python

Image credit: Author

Data structures organize data in ways that make it efficient for their data to be accessed in particular ways by placing constraints on how the data is accessed. Data structures may also place constraints on the data itself, such as a uniqueness constraint on items in a set — I talk about that in Set Basics in Python.

In this video, I talk broadly about data structures, briefly about stacks, and at length about queues and the deque Python module for easily creating and using queues.

Watch the video here

Thank you for watching. Please LIKE and SUBSCRIBE to show your support and watch more videos like this one.

More Computing resources

Watch videos covering a variety of topics in Computing at




Software Engineer — Data & Machine Learning

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

KubeCon Europe 2022 — our highlights

Deploying AI models on AWS Elastic Beanstalk

Parse an Unstructured Date/Time String in Python

Your own Notebook page using CustomPaint in Flutter

How to force turned on the GPU acceleration of Android Webview

How to convert an ODT File to DOCX in Python

Retrieve the Sitemap URL for an HTML Document in Java

How to convert Binary into Text String with Base 64 Encoding in C# .NET Framework

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Onel Harrison

Onel Harrison

Software Engineer — Data & Machine Learning

More from Medium

Uses Of Tuple Functions In Python

Merge Sort In Python

Introduction to Data Structures and Algorithms With Python

Uniform Cost Search (UCS) Algorithm in Python