We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn Data Structures and Algorithms 2 in Python

This Python course is not for the faint of heart. It covers graphs, dynamic programming, and linear programming among other things.

What will you learn?

You might know algorithms, but do you know advanced algorithms? We're not really sure what that means either, because the distinction is a bit arbitrary. In a nutshell, this is an extension of our basic algorithms course, and here you'll learn more niche algorithms and pick up new ways of thinking that will help you advance your career from a junior to a senior developer.

Chapter List

1
Dijkstra's
Learn about Dijkstra's algorithm, one of the best ways to find the shortest path between two points
2
Bellman-Ford
Implement the Bellman-Ford algorithm, a specialized way to find the shortest path on a weighted graph
3
Heaps
Master priority queues and heaps. You'll efficiently find the minimum or maximum element in a collection.
4
A* Search
The A* algorithm is an advanced search that uses heuristics to guide the search to a more optimal solution
5
Dynamic Programming
Dynamic programming is all about trading space for time. Learn how we can take exponential problems and make them linear.
6
Edit Distance
Edit distance is a classic problem in computer science; learn how to solve it with dynamic programming
7
Linear Programming
Learn about how to solve complex optimization problems

Join 495 students in the Learn Data Structures and Algorithms 2 in Python course

Read reviews of their learning experiences

Short but impactful—taught me exactly what I needed.

(5/5)
Lalit Kumar profile image

Lalit Kumar

Bangalore, Karnataka, India

Loved the pacing and depth.

(4/5)
Jacob Alarcon profile image

Jacob Alarcon

Brownsville, Texas

I appreciated how the instructor broke down the core concepts into digestible steps. The examples were practical and mirrored what I encounter in my day-to-day work. In particular, the section on error handling and observability tied everything together. If I had a minor nitpick, it would be that the pacing sped up in the last module, but the accompanying notes and code samples made it easy to revisit and cement the ideas.

(5/5)
Satyendra KumarSingh profile image

Satyendra KumarSingh

Hyderabad, India

Could use more exercises, but solid overall.

(3/5)
Tejas Koradiya  profile image

Tejas Koradiya

Ahmedabad,India

Loved the pacing and depth.

(5/5)
Mat Beecher profile image

Mat Beecher

USA

I appreciated how the instructor broke down the core concepts into digestible steps. The examples were practical and mirrored what I encounter in my day-to-day work. In particular, the section on error handling and observability tied everything together. If I had a minor nitpick, it would be that the pacing sped up in the last module, but the accompanying notes and code samples made it easy to revisit and cement the ideas.

(3/5)
Albertc  profile image

Albertc

Hong Kong

This lesson exceeded my expectations. I went in thinking I knew the basics, but the deeper dives into trade-offs and edge cases were exactly what I needed. The instructor didn’t just show ‘happy path’ solutions: they demonstrated how to think about failure modes, performance bottlenecks, and future extensibility. The capstone project, while optional, gave me the perfect sandbox to experiment and get feedback.

(4/5)
Matthew Banbury profile image

Matthew Banbury

Space

The real-world context made the concepts click for me.

(3/5)
Tinca Maria Silvana profile image

Tinca Maria Silvana

Romania

Loved the pacing and depth.

(3/5)
Bonveio Abitona profile image

Bonveio Abitona

Philippines

Showing 1-9 of 10

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.