Data, Technology & EngineeringEvaluate & RefineExplore OptionsFocus & PrepareHealthcare & Biomedical SciencesTake Action

Python Data Structures: Stacks, Deques, and Queues

Stacks, deques, and queues are three essential Python data structures. They form the backbone of many computer science algorithms, and showing a mastery of these concepts can help you in your current job or help you land your next role. In this course, Dhhyey Desai shows you how to build stacks, queues, and deques, and use these linear data structures to solve real-world problems you might encounter in your work.
Learn how to define each class and use Python’s built-in methods to accomplish the necessary behaviors, such as push, pop, and peek; enqueue and dequeue; and add_front and remove_rear. Join Dhhyey in this course to learn the benefits of each of these common data structures, and add skills to your coding toolkit.

Learn More