← Winnitude! Search  ·  Reader Mode (495 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
REAL PYTHON · Real Python · 28 LINKS

Implementing a Stack in Python - Real Python

Go to the next lesson

Implementing a Stack in Python

Liam Pulsifer 6 Lessons 36m basics data-structures

Have you heard of stacks and wondered what they are? Do you have a general idea but are wondering how to implement a Python stack? You've come to the right place!

In this course, you'll learn:

  • How to recognize when a stack is a good choice for a data structure
  • How to decide which implementation is best for your program
  • What extra considerations to make about stacks in a threading or multiprocessing environment

This course is for Pythonistas who are comfortable running scripts , know what a list is and how to use it, and are wondering how to implement Python stacks.

What's Included:

  • 6 Lessons
  • Video Subtitles and Full Transcripts
  • 2 Downloadable Resources
  • Accompanying Text-Based Tutorial
  • 2 Hands-On Coding Exercises
  • Q&A With Python Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

Related Learning Paths:

Start Now

Implementing a Stack in Python

6 Lessons 36m

  1. 1. What Is a Stack? 05:34
  2. 2. Implementing a Stack in Python 04:08
  3. 3. Exercise: Reopen Closed Tabs 08:00
  4. 4. Concurrency With Python Stacks 05:54
  5. 5. Exercise: Reopen Closed Tabs With LifoQueue 08:00
  6. 6. Which Implementation Should You Use? 05:04
Start Now

About Liam Pulsifer

Liam is a software engineer and avid Pythonista. When he's not writing code to automate all of his daily tasks, you can often find him running, playing basketball and tennis, reading, or eating good food.

» More about Liam

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Christopher

Joanna

Sadie

Tappan

Jim

Aldren

Mike

Related Courses:

Working With Linked Lists in Python

Max

Nicely done, to the point, no overhead. Just perfect to start off my working day :)

← Browse All Courses