Skip to main content
HomePython

Data Structures and Algorithms in Python

4.1+
18 reviews
Advanced

Explore data structures such as linked lists, stacks, queues, hash tables, and graphs; and search and sort algorithms!

Start Course for Free
4 hours16 videos49 exercises18,845 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

Most computer programs are based on a few data structures and algorithms. Learn about what’s behind the hood of most of your computer interactions in this four-hour course! You’ll familiarize yourself with some of the most common data structures: linked lists, stacks, queues, and trees. You’ll also implement popular algorithms, such as Depth First Search, Breadth First Search, Bubble sort, Merge sort, and Quicksort.

Learn to Spot Data Structures and Algorithms in Everyday Life

You'll practice applying data structures and algorithms to decks of cards, music playlists, international dishes, and stacks of books. You’ll walk away with the ability to recognize common data structures and algorithms, and implement them in day-to-day applications!

Analyze the Efficiency of Algorithms

Along the way, you’ll stop to analyze popular algorithms in terms of their efficiency. You’ll come to grips with “Big O Notation”, the industry standard for describing the complexity of an algorithm.

Sharpen Your Python Programming Knowledge

Being well-versed with data structures and algorithms means being able to take everyday problems and solve them using efficient code. You’ll be practising this in Python, you’ll take these fundamental and transferable skills with you to any programming language.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp For BusinessFor a bespoke solution book a demo.

In the following Tracks

Python Developer

Go To Track

Python Programming Toolbox

Go To Track
  1. 1

    Work with Linked Lists and Stacks and Understand Big O notation

    Free

    You’ll begin by learning what algorithms and data structures are. You will discover two data structures: linked lists and stacks. You will then learn how to calculate the complexity of an algorithm by using Big O Notation.

    Play Chapter Now
    Welcome!
    50 xp
    Implementing a linked list
    100 xp
    Inserting a node at the beginning of a linked list
    100 xp
    Removing the first node from a linked list
    100 xp
    Understanding Big O Notation
    50 xp
    Big O Notation: true or false?
    100 xp
    Practicing with Big O Notation
    100 xp
    Working with stacks
    50 xp
    Implementing a Stack with the push method
    100 xp
    Implementing the pop method for a stack
    100 xp
    Using Python's LifoQueue
    100 xp
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Python Developer

Go To Track

Python Programming Toolbox

Go To Track

collaborators

Collaborator's avatar
Maham Khan
Collaborator's avatar
Izzy Weber
Collaborator's avatar
George Boorman

prerequisites

Introduction to Object-Oriented Programming in Python
Miriam Antona HeadshotMiriam Antona

Software Engineer

Miriam is a freelance Software Engineer with 15+ years of experience. She is focused on analyzing, designing, and developing software applications. She also collaborates with the UOC University supervising Bachelor theses. Miriam loves programming and experimenting with different technologies. She is passionate about databases and enjoys playing with data. She holds a Master of Science Degree in Computer Engineering.
See More

Don’t just take our word for it

*4.1
from 18 reviews
56%
22%
11%
6%
6%
  • Li D.
    28 days

    Great

  • Anastasis K.
    3 months

    awesome course for those in CS who never had proper algo course before, but have the need to structure their knowledge

  • Ihar K.
    4 months

    Very useful course

  • Abhijit B.
    7 months

    Excellent concise course

  • Joseph O.
    7 months

    Good explanations of data structures & algorithms, and logic of Python code. Easy practice exercises with Python code & syntax in the logic of data structures and algorithms. Recommend using the DataCamp Workbook tool, DataLab, to copy/save all your course notes and code scripts, which you can download to your PC.

"Great"

Li D.

"awesome course for those in CS who never had proper algo course before, but have the need to structure their knowledge"

Anastasis K.

"Very useful course"

Ihar K.

Join over 15 million learners and start Data Structures and Algorithms in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.