Course Overview
This course teaches data structures and algorithms in a clear and practical way using Python.
If you’ve ever followed tutorials, copied solutions, or written code that works but you’re not sure why it works, this is for you.
This course focuses on the fundamentals that actually matter: Data structures and algorithms. Not as theory you forget, but as tools you understand and use.
You’ll go through the core structures every programmer runs into: Arrays, linked lists, stacks, queues, trees, heaps, hashing, and graphs. You’ll see how they work, how they’re built, and when to use each one.
Then you’ll cover algorithms like sorting, graph traversal, and shortest path methods, and implement them step by step in Python.
Each concept is broken down simply. First the idea, then the implementation.
You’ll work through problems that force you to think instead of repeat patterns. The goal is to help you stop guessing and start approaching problems with a clear process.
You will also go through 14 coding challenges and interview questions to apply what you learn and test your understanding.
By the end of the course, you’ll be able to:
Choose the right data structure for the task
Understand what your code is actually doing
Break down problems into logical steps
Write your own algorithms
Spot inefficient code and fix it
These are the skills that separate someone who can code from someone who actually understands what they’re doing.
If you want to understand what your code is actually doing and be able to explain every part of it, this course will get you there.
Let's get started!
FAQ
FAQ area empty
Course curriculum
Chương 1 Installation and Environment Setup 3 bài · 5 phút
Chương 2 ⚑ DATA STRUCTURES 3 bài · 11 phút
-
Why do we need data structures? 6:29
-
Data structures and abstract data types 4:57
-
Data Structures and Abstract Data Types Quiz
Chương 3 Data Structures - Arrays 7 bài · 38 phút
-
What are array data structures? 6:06
- What are lists in Python? Học thử 3:52
-
Arrays introduction - operations 8:18
- Lists in Python Học thử 5:37
- Lists in Python - advanced operations Học thử 8:24
- Lists in Python - list comprehension Học thử 5:53
-
Arrays and Lists Quiz
Chương 4 Interview Questions - (Arrays) 8 bài · 27 phút
-
Reversing an array in-place exercise
-
Reversing an array in-place solution 4:34
-
Palindrome exercise
-
Palindrome problem solution 6:31
-
Integer reversion exercise
-
Integer reversion problem solution 9:57
-
Anagram problem exercise
-
Anagram problem solution 6:06
Chương 5 Data Structures - Linked Lists 10 bài · 51 phút
-
What are linked lists? 6:29
-
Linked list introduction - operations 8:57
-
Pros and cons of linked lists 3:33
-
Linked list implementation I 8:42
-
Linked list implementation II 4:40
-
Linked list implementation III 7:01
-
Revisiting remove operation
-
Comparing linked lists and arrays 6:26
-
Practical (real-world) applications of linked lists 5:04
-
Linked Lists Quiz
Chương 6 Data Structures - Doubly Linked Lists 4 bài · 19 phút
-
What are doubly linked lists? 6:59
-
Doubly linked list implementation 8:11
-
Running time comparison: linked lists and arrays 3:57
-
Doubly Linked Lists Quiz
Chương 7 Interview Questions (Linked Lists) 4 bài · 12 phút
-
Finding the middle node in a linked list exercise
-
Finding the middle node in a linked list solution 5:28
-
Reverse a linked list in-place exercise
-
Reverse a linked list in-place solution 6:52
Chương 8 Data Structures - Stacks 6 bài · 33 phút
-
What are stacks? 6:36
-
Stacks in memory management (stacks and heaps) 6:57
-
Stack memory visualization 6:19
-
Stack implementation 8:41
-
Practical (real-world) applications of stacks 4:06
-
Stack Quiz
Chương 9 Data Structures - Queues 3 bài · 15 phút
-
What are queues? 6:32
-
Queue implementation 8:36
-
Queues Quiz
Chương 10 Interview Questions (Stacks and Queues) 5 bài · 17 phút
-
Max in a stack problem overview
-
Max in a stack problem solution 7:05
-
Queue with stack problem
-
Queue with stack problem solution 6:04
-
Queue with stack problem solution - recursion 3:46
Chương 11 Data Structures - Binary Search Trees 12 bài · 1 giờ 28 phút
-
What are binary search trees? 15:41
-
Binary search trees theory - search, insert 7:55
-
Binary search trees theory - delete 6:12
-
Binary search trees theory - in-order traversal 5:28
-
Pros and cons of binary search trees 3:40
-
Binary search tree implementation I 8:38
-
Binary search tree implementation II 8:39
-
Stack memory visualization - finding max (min) items 4:40
-
Stack memory visualization - tree traversal 6:00
-
Binary search tree implementation III - remove operation 18:09
-
Practical (real-world) applications of trees 3:02
-
Binary Search Trees Quiz
Chương 12 Interview Questions (Binary Search Trees) 2 bài · 7 phút
-
Compare binary trees exercise
-
Compare binary trees solution 6:58
Chương 13 Data Structures - AVL Trees 12 bài · 1 giờ 23 phút
-
Motivation behind balanced binary search trees 3:26
-
What are AVL trees? 6:47
-
AVL trees introduction - height 12:38
-
AVL trees introduction - rotations 9:05
-
AVL trees introduction - illustration 5:17
-
AVL tree implementation I 9:47
-
AVL tree implementation II 9:39
-
AVL tree implementation III 12:05
-
AVL tree implementation IV 7:51
-
AVL tree implementation V 2:20
-
Practical (real-world) applications of balanced binary search trees 3:40
-
AVL Trees Quiz
Chương 14 Data Structures - Red-Black Trees 10 bài · 59 phút
-
What are red-black trees? 10:48
-
The logic behind red-black trees 4:26
-
Red-black trees - recoloring and rotation cases 9:25
-
Red-black tree illustrations 7:33
-
Red-black tree implementation I 6:51
-
Red-black tree implementation II 5:33
-
Red-black tree implementation III 9:57
-
Red-black tree implementation IV 2:10
-
Differences between red-black tree and AVL trees 2:46
-
Red-Black Trees Quiz
Chương 15 Data Structures - Heaps 12 bài · 1 giờ 12 phút
-
What are priority queues? 4:51
-
Heap introduction - basics 10:12
-
Heap introduction - array representation 9:33
-
Heap introduction - remove operation 7:12
-
Using heap data structure to sort (heapsort) 6:25
-
Heap introduction - operations complexities 5:05
-
Binomial and Fibonacci heaps 4:17
-
Heap implementation I 5:11
-
Heap implementation II 10:18
-
Heap implementation III 4:31
-
Heaps in Python 3:56
-
Heaps Quiz
Chương 16 Interview Questions (Heaps) 4 bài · 15 phút
-
Checking heap properties exercise
-
Checking heap properties solution 8:04
-
Max heap to min heap exercise
-
Max heap to min heap solution 6:57
Chương 17 Data Structures - Associative Arrays (Dictionaries) 11 bài · 1 giờ 7 phút
-
What are associative arrays? 5:51
-
Hashtable introduction - basics 11:25
-
Hashtable introduction - collisions 11:19
-
Hashtable introduction - dynamic resizing 7:08
-
Linear probing implementation I 6:03
-
Linear probing implementation II 6:27
-
Linear probing implementation III 2:14
-
Dictionaires in Python 3:40
-
Why to use prime numbers in hashing? 6:21
-
Practical (real-world) applications of hashing 6:31
-
Dictionaries Quiz
Chương 18 ⚑ GRAPH ALGORITHMS 4 bài · 18 phút
-
Graph theory overview 6:45
-
Adjacency matrix and adjacency list 7:58
-
Applications of graphs 3:37
-
Graph Algorithms Overview Quiz
Chương 19 Graph Algorithms - Graph Traversal Algorithms 5 bài · 36 phút
-
Breadth-first search introduction 8:20
-
Breadth-first search implementation 9:48
-
Applications of breadth-first search 2:19
-
What are WebCrawlers (core of search engines)? 5:49
-
WebCrawler basic implementation 9:42
Chương 20 Depth-First Search 5 bài · 20 phút
-
Depth-first search introduction 8:52
-
Depth-first search implementation 4:07
-
Applications of depth-first search 3:02
-
Memory management of graph traversal algorithms 4:18
-
Graph traversal quiz
Chương 21 Interview Questions (Graph Traversal) 5 bài · 25 phút
-
Interview question #1 - implement DFS with recursion
-
Interview question #1 - solution 2:54
-
Depth-first search and stack memory visualisation 6:01
-
Interview question #2 - using BFS to find way out of maze
-
Interview question #2 - solution 16:14
Chương 22 Graph Algorithms - Shortest Paths with Dijkstra's Algorithm 10 bài · 1 giờ 19 phút
-
What is the shortest path problem? 4:50
-
Dijkstra algorithm visualization 11:04
-
Dijkstra algorithm implementation I - Edge, Node 10:34
-
Dijkstra algorithm implementation II - algorithm 13:58
-
Dijkstra algorithm implementation III - testing 3:55
-
Dijktsra's algorithm with adjacency matrix representation 12:10
-
Adjacency matrix representation implementation 12:46
-
Shortest path algorithms applications 5:08
-
What is the critical path method (CPM)? 4:10
-
Dijkstra's Algorithm Quiz
Chương 23 Graph Algorithms - Shortest Paths with Bellman-Ford Algorithm 7 bài · 38 phút
-
What is the Bellman-Ford algorithm? 13:41
-
Bellman-Ford algorithm visualization 5:20
-
Bellman-Ford algorithm implementation I - Node, Edge 1:38
-
Bellman-Ford algorithm implementation II - the algorithm 7:46
-
Bellman-Ford algorithm implementation III - testing 3:21
-
Greedy algorithm or dynamic programming approach? 5:45
-
Bellman-Ford Algorithm Quiz
Chương 24 Interview Questions (Shortest Paths) 3 bài · 10 phút
-
Interview question #1 - detecting negative cycles on the FOREX
-
How to use Bellman-Ford algorithm on the FOREX? 6:26
-
Interview question #1 - solution 3:57
Chương 25 Graph Algorithms - Spanning Trees with Kruskal Algorithm 8 bài · 58 phút
-
What is the disjoint set data structure? 14:13
-
Disjoint sets visualization 5:53
-
Kruskal's algorithm introduction 10:08
-
Kruskal algorithm implementation I - basic classes 6:28
-
Kruskal algorithm implementation II - disjoint set 13:02
-
Kruskal algorithm implementation III - algorithm 5:15
-
Kruskal algorithm implementation VI - testing 3:25
-
Kruskal's Algorithm Quiz
Chương 26 Graph Algorithms - Spanning Trees with Prims Algorithm 6 bài · 32 phút
-
What is the Prim-Jarnik algorithm? 9:36
-
Prims-Jarnik algorithm implementation I 10:26
-
Prims-Jarnik algorithm implementation II 3:14
-
Comparing the spanning tree approaches 2:08
-
Applications of spanning trees 6:10
-
Prim's Algorithm Quiz
Chương 27 Hamiltonian Cycles - Travelling Salesman Problem 6 bài · 49 phút
-
What are Hamiltonian cycles? 11:19
-
The travelling salesman problem 2:35
-
Travelling salesman problem implementation 17:52
-
TSP and stack memory visualization 11:58
-
Why to use meta-heuristics? 5:20
-
Hamiltonian Problem Quiz
Chương 28 ⚑ SUBSTRING SEARCH ALGORITHMS 17 bài · 2 giờ 15 phút
-
Brute-force search introduction 6:52
-
Brute-force substring search algorithm exercise
-
Brute-force substring search algorithm implementation 6:30
-
Naive Substring Search Quiz
-
Rabin-Karp algorithm introduction 20:28
-
Rabin-Karp algorithm implementation 14:56
-
Rabin-Karp Substring Search Quiz
-
Knuth-Morris-Pratt algorithm introduction 12:54
-
Constructing the partial match table - visualization 8:10
-
Knuth-Morris-Pratt algorithm implementation 9:18
-
Knuth-Morris-Pratt Algorithm Quiz
-
Z algorithm introduction 19:30
-
Z algorithm illustration 12:49
-
Z algorithm implementation 16:12
-
Z Algorithm Quiz
-
Substring search algorithms comparison 5:11
-
Applications of substring search 2:21
Chương 29 ⚑ SORTING ALGORITHMS 38 bài · 3 giờ 15 phút
-
Sorting introduction 7:36
-
What is stability in sorting? 6:09
-
What is adaptive sorting? 3:14
-
Sorting Algorithms Basics Quiz
-
Bogo sort introduction 3:14
-
Bogo sort implementation 7:53
-
Bogo Sort Quiz
-
Bubble sort introduction 5:27
-
Bubble sort implementation 5:31
-
Selection sort introduction 5:14
-
Selection sort implementation 5:30
-
Selection Sort Quiz
-
Insertion sort introduction 8:35
-
Insertion sort implementation 5:23
-
Sorting custom objects with insertion sort
-
Solution - sorting custom objects with insertion sort
-
Insertion Sort Quiz
-
Shell sort introduction 6:18
-
Shell sort implementation 6:27
-
Shell Sort Quiz
-
Quicksort introduction 12:15
-
Quicksort introduction - example 7:41
-
Quicksort implementation 11:36
-
Hoare's partitioning and Lomuto's partitioning
-
What is the worst-case scenario for quicksort? 7:20
-
QuickSort Quiz
-
Merge sort introduction 8:17
-
Merge sort implementation 8:22
-
Stack memory and merge sort visualization 7:49
-
Merge Sort Quiz
-
Hybrid algorithms introduction 6:09
-
Non-comparison based algorithms 2:13
-
Counting sort introduction 10:17
-
Counting sort implementation 9:48
-
Radix sort introduction 13:03
-
Radix sort implementation 13:37
-
Measure running time differences
-
Non-Comparison Based Sorting Quiz
Chương 30 Interview Questions (Sorting) 6 bài
-
TimSort algorithm
-
Interview question #1 - solution
-
Quicksort with iteration
-
Interview question #2 - solution
-
Selection sort with recursion
-
Interview question #3 - solution
Chương 31 Other Algorithmic Problems 6 bài · 33 phút
-
Dutch national flag problem overview
-
Dutch national flag problem theory 8:03
-
Dutch national flag problem solution 4:40
-
Trapping rain water problem overview
-
Trapping rain water problem theory 13:34
-
Trapping rain water problem solution 6:46
Chương 32 ⚑ APPENDIX - COMPLEXITY THEORY CRASH COURSE 8 bài · 60 phút
-
How to measure the running times of algorithms? 8:44
-
Complexity theory illustration 4:21
-
Complexity notations - big O (ordo) 8:11
-
Complexity notations - big Ω (omega) 4:29
-
Complexity notations - big (θ) theta 2:06
-
Algorithm running times 10:51
-
Complexity classes 13:14
-
Analysis of algorithms - loops 8:01
Chương 33 Next Steps 1 bài
-
Next steps
Chương 34 Course Materials (DOWNLOADS) 1 bài
-
Download course materials (slides and source code)
Requirment
-
Python basics
-
Some theoretical background ( big O notation )
Outcomes
-
Know when to use arrays, linked lists, stacks, and queues
-
Use trees, heaps, and hash tables correctly
-
Run BFS, DFS, Dijkstra, and Bellman Ford and understand each step
-
Choose the right sorting algorithm based on the problem
-
Build your own algorithms from scratch
-
Break problems down into clear, logical steps
-
Spot inefficient code and fix it
-
Understand why some solutions scale and others don’t
-
Write code that is efficient and easy to follow
-
Understand the difference between data structures and abstract data types
-
Work with graphs and minimum spanning trees
-
Apply the right structure and algorithm to real problems
0 Student
3 Courses
0 review