Skip to main content
HomePythonData Structures and Algorithms in Python

Data Structures and Algorithms in Python

4.1+
11 reviews
Intermediate

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 Exercises
12,469 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.
GroupTraining 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

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try 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

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

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

Writing Functions 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 11 reviews
64%
9%
18%
0%
9%
Sort by
  • Abhijit B.
    26 days

    Excellent concise course

  • Joseph O.
    about 1 month

    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.

  • F.J. H.
    4 months

    All good

  • Albert C.
    6 months

    The class is engaging and provides a great learning experience.

  • Stephen D.
    9 months

    This course has the most interesting content of any I've done on datacamp. Please make a whole series of data structure courses!

"Excellent concise course"

Abhijit B.

"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."

Joseph O.

"All good"

F.J. H.

Join over 14 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.