Python Data Structures: Stacks, Queues, and Deques

Go to class
Write Review

Free Online Course: Python Data Structures: Stacks, Queues, and Deques provided by LinkedIn Learning is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Python Data Structures: Stacks, Queues, and Deques is taught by Erin Allard.

Overview
  • Rock your next technical interview. 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 primer
    • What you should know
    1. Abstract Data Types and Data Structures
    • Abstract data types
    • Data structures
    2. The Stack
    • Stacks as a linear abstract data type
    • Creating the stack class and its methods
    • push()
    • pop()
    • peek()
    • size()
    • is_empty()
    • Challenge: Balanced symbols
    • Balanced symbols solution approach
    • Balanced symbols solution in code
    3. The Queue
    • Queues as a linear abstract data type
    • Creating the queue class and its methods
    • enqueue()
    • dequeue()
    • peek()
    • size() and is_empty()
    • Challenge: Print queue
    • Print queue solution approach
    • Print queue solution in code
    4. The Deque
    • Dequeues as a linear abstract data type
    • Creating the deque class and its methods
    • add_rear() and add_front()
    • remove_rear() and remove_front()
    • peek_rear() and peek_front()
    • size() and is_empty()
    • Challenge: Palindrome checker
    • Palindrome checker solution approach
    • Palindrome checker solution in code
    Conclusion
    • Next steps