YoVDO

Python Data Structures: Stacks, Queues, and Deques

Offered By: LinkedIn Learning

Tags

Data Structures Courses Python Courses Algorithms Courses Stacks Courses Queues Courses

Course Description

Overview

Learn about the top three linear data structures—stacks, queues, and deque—and build your own data structures in Python.

Syllabus

Introduction
  • Python data structures: Stacks, queues, and deques
  • What you should know
  • Explore the CoderPad environment
1. Stacks
  • Stacks: An introduction
  • The push() operation
  • The pop() operation
  • The peek() operation
  • Solution: Palindrome checker
2. Queues
  • Queues: An introduction
  • List-based queues
  • Stack-based queues
  • Node-based queues
  • Solution: Printer problem
3. Deques
  • Deques: An introduction
  • Appending lists with deque
  • rotate(), reverse(), and extend()
Conclusion
  • Next steps

Taught by

Erin Allard

Related Courses

Information Theory
The Chinese University of Hong Kong via Coursera
Intro to Computer Science
University of Virginia via Udacity
Analytic Combinatorics, Part I
Princeton University via Coursera
Algorithms, Part I
Princeton University via Coursera
Divide and Conquer, Sorting and Searching, and Randomized Algorithms
Stanford University via Coursera