DEV Community

Cover image for Python Data Structures Tutorial

Python Data Structures Tutorial

iam_aprogrammer profile image I am a Programmer ・1 min read

Tutorial on data structures in Python: Lists, Tuples, Sets and Dictionaries. Also explains sequence and string functions, slicing, concatenating, iterating, sorting, etc. with code examples.

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.

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.

What you’ll learn

  • An in-depth look at native Python data structures: Strings, Lists, Tuples, Sets and Dictionaries
  • Introduction to Queues, Stacks, Heaps, Linked Lists, Binary Search Trees and Graphs, including concepts of how they work, pros and cons, and how to Implement and use them in Python.


Editor guide