Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python Data Structures A to Z
Rating: 4.2 out of 5(678 ratings)
18,751 students

Python Data Structures A to Z

Learn the essentials of data structures in Python.
Created byJoe James
Last updated 5/2019
English

What you'll learn

  • An in-depth look at native Python data structures: Strings, Lists, Tuples, Sets and Dictionaries
  • Intro to Queues, Stacks, Heaps, Linked Lists, Binary Search Trees and Graphs
  • How each Data Structure works and how to Implement and use them in Python
  • Pros and Cons of each Data Structure

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

5 sections15 lectures2h 9m total length
  • Introduction1:24

    Welcome to Python Data Structures! This brief introduction tells what topics we'll cover and why they're important.

  • Operations for Sequence Types (String, List, Tuple)14:18

    Learn to use common features of Sequence types (Strings, Lists and Tuples), including indexing, slicing, iterating, counting, summation, checking membership, sorting, etc.

  • Using Lists, Tuples, Sets and Dictionaries23:01

    Learn detailed features of Python's built-in data structures, Lists, Tuples, Sets and Dictionaries. This lesson uses a series of code examples in a Jupyter notebook that is easy to follow.

  • List Functions Coding Exercise
  • List Comprehensions6:57

    Learn to use Python's powerful List Comprehensions to create new lists.

  • Write a list comprehension to create the following list: [5, 10, 15, 20]
  • Section 1 Quiz

Requirements

  • Should be familiar with Python programming fundamentals such as how to use variables and functions.
  • Alternatively, if you are already proficient with another language and are just starting to learn Python as a second language you could probably keep up with this course.

Description

This course combines conceptual lectures to explain how a data structure works, and code lectures that walk through how to implement a data structure in Python code. All the code lectures are based on Python 3 code in a Jupyter notebook. All the code and presentations are available for download on Github.

Data structures covered in this course include native Python data structures String, List, Tuple, Set, and Dictionary, as well as Stacks, Queues, Heaps, Linked Lists, Binary Search Trees, and Graphs.

Who this course is for:

  • Beginner or intermediate Python programmers who want to gain a solid understanding of data structures.
  • Anyone who already knows another programming language and wants to learn general data structures used in programming, while learning Python.
  • This course will prepare students for an algorithms course.