Python Data Structures & Algorithms + LEETCODE Exercises (Udemy.com)
DSA + LEETCODE for Coding Interviews — Clear, Step-by-Step Animated Walkthroughs!
Created by: Scott Barrett
Last updated April 2026
Our take
Based on the ratings of 17,425 students, a sample of their written reviews and the syllabus, as the course stood in April 2026. No course pays to be reviewed.
Scott Barrett's course teaches data structures and algorithms in Python through animated walkthroughs. It runs about 10 hours across 139 lectures, with 108 coding exercises and 115 quizzes. Topics cover Big O, linked lists, doubly linked lists, stacks and queues, trees, hash tables, graphs, heaps, recursion, tree traversal and sorting, ending with a short dynamic programming section. It asks for basic Python and nothing else, so it fits first-time DSA learners. The last update was April 2026, so the material is current.
Reviewers keep coming back to the animations. One says pointer handling in linked lists and recursive traversal finally made sense once they could watch it happen, and others describe Scott's teaching as clear and to the point. The complaints are consistent too. The built-in tests report a failure without showing the input, and hints only appear after several failed runs. Some say the LeetCode sections get little explanation, a few solutions are sloppy or not truly in-place, and one 1-star reviewer found the LeetCode questions too easy. A couple say it teaches each structure but not how to pick one for a problem.
With 4.7 stars from 17,425 reviews and more than 124,000 students, this is a safe pick for a first pass. Think of it as the concept layer. It is short, so anyone aiming at harder interviews will need a separate problem set afterward, ideally a proper LeetCode grind.
Pros
- Animations make pointers, linked lists and recursive traversal easy to follow, reviewers say
- 108 coding exercises and 115 quizzes let students practice right after each topic
- Short, focused lectures: about 10 hours covers Big O through dynamic programming
- Updated April 2026 and rated 4.7 from 17,425 reviews
Cons
- Test failures show no input or debug details, and hints only appear after failed runs
- LeetCode sections are thin and easy, with light explanation and a few sloppy solutions
- Teaches each structure separately, with little on choosing one for a harder problem
very well explained with animations. Handson practice questions are amazing and also helpful for interview.
All Levels is generous. It suits beginners to DSA who already know Python variables, loops and functions.
What you will learn
- Solve 100+ coding exercises to ace DSA interviews with confidence.
- Think like a pro coder to tackle complex problems efficiently.
- Master data structures—linked lists, trees, heaps, graphs—for practical use.
- Learn algorithms—sorting, recursion, dynamic programming—with clarity.
- Analyze time and space complexity to optimize your coding solutions.
- Grasp DSA concepts faster with animated examples for deeper insight.
- Apply DSA to solve LeetCode challenges and practical coding problems.
- Boost your developer skills to excel in technical interviews confidently.
Course content
41 sections · 139 lectures · 10 hours of video 115 quizzes, 108 coding exercises, 5 articles
- 1--> Start Here 1 free preview2 lectures · 18 min
- 2Big O11 lectures · 3 quizzes · 31 min
- 3Classes & Pointers2 lectures · 15 min
- 4Linked Lists 5 free previews16 lectures · 1 quiz · 1.3 hours
- 5<> LL: Coding Exercises11 quizzes
- 6<> LL: Interview / LeetCode Exercises8 lectures · 8 quizzes · 35 min
- 7Doubly Linked Lists 1 free preview9 lectures · 45 min
- 8<> DLL: Coding Exercises9 quizzes
- 9<> DLL: Interview / LeetCode Exercises3 lectures · 5 quizzes · 7 min
- 10Stacks & Queues 1 free preview8 lectures · 1 quiz · 26 min
- 11<> S&Q: Coding Exercises6 quizzes
- 12<> S&Q: Interview / LeetCode Exercises4 lectures · 8 quizzes · 9 min
- 13Trees 2 free previews7 lectures · 1 quiz · 44 min
- 14<> BST: Coding Exercises3 quizzes
- 15<> BST: Interview / LeetCode Exercises1 lecture · 1 min
- 16Hash Tables8 lectures · 1 quiz · 33 min
- 17<> HT: Coding Exercises4 quizzes
- 18<> HT: Interview / LeetCode Exercises1 lecture · 10 quizzes · 1 min
- 19Graphs 1 free preview8 lectures · 1 quiz · 31 min
- 20<> Graph: Coding Exercises4 quizzes
- 21Heaps7 lectures · 39 min
- 22<> Heap: Coding Exercises6 quizzes
- 23<> Heap: Interview / LeetCode Exercises2 quizzes
- 24Recursion 1 free preview3 lectures · 23 min
- 25Recursive Binary Search Trees7 lectures · 40 min
- 26<> rBST: Coding Exercises4 quizzes
- 27<> rBST: Interview / LeetCode Exercises2 quizzes
- 28Tree Traversal 1 free preview9 lectures · 31 min
- 29<> BST Traversal: Coding Exercises4 quizzes
- 30<> BST Traversal: Interview / LeetCode Exercises2 quizzes
- 31Basic Sorts 2 free previews7 lectures · 1 quiz · 23 min
- 32<> Basic Sorts: Coding Exercises3 quizzes
- 33<> Basic Sorts: Interview / LeetCode Exercises3 quizzes
- 34Merge Sort6 lectures · 24 min
- 35<> Merge Sort: Coding Exercises2 quizzes
- 36<> Merge: Interview / LeetCode Exercise1 quiz
- 37Quick Sort 1 free preview5 lectures · 21 min
- 38<> Quick Sort: Coding Exercises2 quizzes
- 39Dynamic Programming5 lectures · 42 min
- 40<> Other: Interview / LeetCode Exercises1 lecture · 7 quizzes
- 41<> Coding Exercises1 lecture
Who it is for
The instructor says it suits
- Python programmers aiming to ace technical interviews with DSA mastery
- University students seeking to excel in data structures and algorithms courses
- Self-taught programmers eager to fill gaps in their computer science knowledge
- Career switchers transitioning into tech roles with strong coding skills
What you need before you start
- Basic Python programming knowledge (e.g., variables, loops, functions)
- No prior experience with data structures or algorithms needed
- An eager attitude to learn DSA and tackle coding challenges
How it compares
Against the other 86 rated Udemy courses in Data Structures and Algorithms on CourseDuck:
- Rating4.7 out of 5higher than 86% of them
- Reviews17,425#2 of 87 by number of reviews
- Length10.3 hoursshorter than 55% of them
- Last updatedApril 2026more recently than 91% of them
Course Description
Welcome to Data Structures & Algorithms in Python
This course makes learning to code fun and makes hard concepts easy to understand.
How did I do this? By using animations!
Animating the Data Structures & Algorithms makes everything more visually engaging and allows students to learn more material - in less time - with higher retention (a pretty good combination).
I will use these visuals to guide you, step-by-step, through the entire course.
The course also includes dozens-and-dozens of Coding Exercises. So you can immediately put everything into practice as soon as you learn it (a very important step).
All of this will help you to feel more confident and prepared when you walk into a coding interview.
I have made several Free Sample Videos available for the course so you can see the difference the animations make.
Also, I am very active on the Q&A, so I will be with you every_step_of _the_way.
_____________________________
What you will get in this course…
Over 100 hand-crafted animated HD videos to illustrate the Data Structures & Algorithms.
Here are the topics we will cover:
Technical
Big O notation
Data Structures
Lists
Linked Lists
Doubly Linked Lists
Stacks & Queues
Binary Trees
Hash Tables
Heaps
Graphs
Heaps
Algorithms
Dynamic Programming
Sorting
Bubble Sort
Selection Sort
Insertion Sort
Merge Sort
Quick Sort
Searching
Breadth First Search
Depth First Search
Don't just take my word for it though, check out what existing students have to say about my courses:
5-Star Review:
"In order to describe this course accurately, we need the definition of the word Beautiful. beau·ti·ful: adjective 1.- pleasing the senses or mind aesthetically. 2.- of a very high standard; excellent." - Josue Hernandez Amezcua5-Star Review:
"The best course on DSA on Udemy" - Enlai Li5-Star Review:
"One of the best courses on DSA. The animations do make a huge impact. All the points are explained in detail. The only problem is that I can't give it more than a 5-star rating." - Nikita Sarkar5-Star Review:
"Amazing Course. My words cannot describe how much animations helped me to understand the concepts. 100% Recommended." - Simarjeet Singh5-Star Review:
Being a visual learner this is BY FAR the BEST course ever. The way the instructor presents this topic makes it so easy to understand." - Eduardo SN5-Star Review:
"The animations were really helpful for an easy understanding, but the best thing about this course for me is that it will not waste your time! It is perfectly optimized, covers the important topics that I wanted, and at the same time perfectly clear. Thank you so much." - Fatemeh Moghaddam5-Star Review:
"This course is very well done! ... the animations in each video take the explanation and understanding of the material to a new level." - Luis Felipe Posada5-Star Review:
"This course has seriously been amazing. The animations have worked wonders for my understanding and I have made significant progress from the beginning of the course until now." - Dakota Fabro5-Star Review:
"I can follow as a beginner, amazing." - Sabrina Fung5-Star Review:
"This is the best course I have ever seen" - Luong Viet Tri
REMEMBER… I'm so confident that you'll love this course that we're offering a FULL money-back guarantee for 30 days! So it's a complete no-brainer, sign up today with ZERO risk and EVERYTHING to gain.
So what are you waiting for? Click the "Buy now" button and join the best Python Data Structures & Algorithms course on Udemy.
I look forward to seeing you in the course.
Now let's get started! :-)
Instructor Details
- 4.7 Rating
17,425 Reviews
Scott Barrett
Hello, I'm Scott, a developer with a passion for teaching.
I've helped Hundreds of Thousands of students learn to code and change their lives by becoming developers.
My courses make learning to code fun and make hard concepts easy to understand.
How do I do this? By using animations!
Animating the code and the concepts makes everything more visually engaging which allows students to learn more material - in less time - with higher retention (a pretty good combination).
I will use these visuals to guide you, step-by-step, through the entire course.
My courses also include dozens-and-dozens of Coding Exercises. So you can immediately put everything into practice as soon as you learn it (a very important step).
I have made several Free Sample Videos available for each course so you can see the difference the animations make.
Also, I am very active on the Q&A, so I will be with you every_step_of _the_way.
I look forward to seeing you in the course.
Let's get started! :-)
More courses by Scott Barrett
Java Data Structures & Algorithms + LEETCODE Exercises (2026)
4.6 (14,771 Reviews)
Provider: Udemy
Time: 11.1h
$109.99
JavaScript Data Structures & Algorithms + LEETCODE Exercises (2026)
4.9 (4,131 Reviews)
Provider: Udemy
Time: 9.6h
$119.99
C++ Data Structures & Algorithms + LEETCODE Exercises (2026)
4.7 (3,314 Reviews)
Provider: Udemy
Time: 10.4h
$109.99
Python Programming for Complete Beginners (2026)
4.5 (322 Reviews)
Provider: Udemy
Time: 3.9h
$12.99
Prompt Engineering: Build Real AI Apps with OpenAI (2026)
4.8 (45 Reviews)
Provider: Udemy
Time: 5.9h
$11.99
More Data Structures and Algorithms courses
JavaScript Data Structures & Algorithms + LEETCODE Exercises (2026)
4.9 (4,131 Reviews)
Provider: Udemy
Time: 9.6h
$119.99
Data Structures & Algorithms: Coding Interview Masterclass (2026)
4.8 (15,900 Reviews)
Provider: Udemy
Time: 10.8h
$99.99
Master the Coding Interview: Big Tech (FAANG) Interviews (2026)
4.8 (6,000 Reviews)
Provider: Udemy
Time: 36.8h
$109.99
Mastering critical SKILLS in Algorithms using C++: Part 1 (2023)
4.8 (598 Reviews)
Provider: Udemy
Time: 18.9h
$84.99
Reviews
By Abdalnassir Ghzawi on 8/27/2026
Absolute game-changer for anyone terrified of technical interviews. Before taking this course, pointers, memory management, and abstract data structures felt like a foreign language written in hieroglyphics. The instructor has a rare gift for breaking down complex concepts like pointer manipulation in doubly linked lists or recursive tree traversals into crystal-clear, visual steps that actually stick. What sets this apart from endless textbook reading is the immediate focus on how and why things work under the hood rather than just memorizing syntax. If you are trying to land a software engineering role or finally want to master computer science fundamentals without losing your mind, this is the blueprint. Worth every single penny.
By César Federico Palencia Gutiérrez on 8/21/2026
I think that it could contain more information on how to apply the different data structures, search and sorting algorithms to specific types of problems. It gets to feel like on one side we're learning about DS, search and sorting and on the other we're addressing specific problems without a clear link on how these topics connect.
By Pratap Kumar on 8/2/2026
Content - 5 Visualisation - 5 Only complaint I have is about the coding exercise. The UX is poor. Also, when we run the tests, there is noting much to debug on failures. It just pops as failed. No test input details, no debug statements nothing... Feels frustrating to figure out what went wrong. More often than not, the code is close to perfect, except for edge case handling and end up checking on working part of the code....
By SHEEL on 6/23/2026
It is an amazing course, this course was suggested to me by a friend. It teaches you concepts in a very understanding way. But the key to learn problem solving is that "Do practise as much you can!"
By Pedro Sánchez Vázquez on 6/13/2026
The clarity of explanations and didactic capabilities of the instructor are espectacular. All the curriculum is well structured, the explanations are cristal clear and the visual representations help a lot in learning. You are getting an amazing data structures course on top of learning python.
By Tanmay Chaudhary on 5/28/2026
The explanation is the best, exactly what I was looking for on the internet for past 1 year. The explanations are clear and beginner-friendly, with good visuals and coding demonstrations that make topics like Linked Lists, Trees, Graphs, Recursion, and Sorting easier to understand. I also liked the practice exercises and LeetCode-style problems because they helped me apply concepts through coding rather than just learning theory. While the course does not go very deep into advanced algorithm analysis, it provides strong fundamentals and is a great starting point for anyone learning DSA or preparing to solve coding problems in Python. I would definitely recommend to under-grads' and even post-grads'.
By Jose Luis Iturbide Lopez on 5/20/2026
In general is good. The solution of some exercises is not the optimal, for example the "array rotation". It says in place but that solution only works in python. I would like to see the input data of some tests due to I was getting errors and I didn't know what was the used test data to figure out my error in an external IDE.
By Steven Wallace on 2/16/2026
The content is detailed and explained well in the lecture videos. In my opinion the coding challenges are great and build you up well for implementing algorithms with Python along with variations to those algorithms.
By Avinash Negi on 2/3/2026
I am loving it, it easy to understand using graphic interface. i prevously purchased abdul bhari DSA course but it was hard to follow on board. but i like how it simply things using amaing UI and graphics. i love this code have AI roleplay like chatgpt to ask questions and coding exercise after each end of section. i rate it 4.9 out of 5 so far. New-update: so far i have learned Linked list, Doubly linked list , Stacks & Queses , Trees / Binary Search Tree. so far it seems easy to me to understand basic core concepts only promblem is i am still bad at leetcode exercises.
By Rufus Tsai on 2/3/2026
Visualization really makes understanding a lot easier! In addition, he slowed down the speaking speed makes non-English native speaker like me easier to catch the concepts without repeating. Thanks for the nice lectures!
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 94 / 100










