- 52lessons
- 6guided projects
- 9module checkpoints
- 1.1hours of video
What you'll learn
- Count operations and memory, classify growth with Theta, and back each claim with a stated assumption and an experiment.
- Implement and compare searching and sorting algorithms, including stability, partitioning and binary search on answers.
- Traverse graphs with BFS, DFS, topological ordering, shortest paths and union-find, and choose the traversal from the requirement.
- Solve problems by recursion, memoization and dynamic programming, and prove the recurrence by tests.
- Deliver a portfolio of tested algorithms with complexity notes, counterexamples and benchmarks.
Skills you'll gain
- Complexity
- measurement
- Arrays strings
- linked structures
- Stacks queues
- hashing
- Trees
- heaps
- Searching
- sorting
- Graphs
- traversal
- Recursion
- dynamic programming
Tools you'll use
- Python 3
- JavaScript
- Oracle-based randomized tests
- Benchmarks
Details to know
- Certificate on completionIssued after your final project is reviewed
- 9 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 3 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Cost, linear structures and hashing
Count operations and memory, then implement arrays, linked lists, stacks, queues and hash tables with stated costs.
You build: Guided project: Linear structures kit with cost table.
- 02
Modules 4 to 6
Trees, sorting and graphs
Build trees and heaps, implement and compare searching and sorting, and traverse graphs with BFS, DFS, shortest paths and union-find.
You build: Guided project: Task board with hash table, BST and priority queue; Search and sort laboratory; Transit planner on a 40-vertex graph.
- 03
Modules 7 to 9
Recursion, porting and portfolio
Solve problems with recursion and dynamic programming, port algorithms to JavaScript with shared test vectors, and deliver a benchmarked portfolio.
You build: Guided project: Recurrence and dynamic programming problem set; Dual-language conformance suite.
Full curriculum
9 modules and 52 lessons, 31 to 54 hours of study
01Complexity and measurement6 lessons, 3 to 4 hours
Lessons
- Counting primitive steps in a function
- Big-O, Omega and Theta with constants dropped
- Reading growth from loop structure
- Best, worst, average and amortized cost
- Memory growth and auxiliary space
- Checking complexity claims by timing
After this module you can
- Count the primitive operations a short function performs for input size n and write the count as an exact expression in n.
- Classify a step-count formula with O, Omega and Theta, and justify the choice by exhibiting constants c and n0.
- Design a timing experiment that tests a stated complexity class using doubling inputs, repeated runs and the minimum of several trials.
02Arrays strings and linked structures6 lessons, 3 to 4 hours
Lessons
- Contiguous arrays and the cost of shifting
- Two pointers moving through sorted and unsorted arrays
- Prefix sums and range queries
- Strings as immutable sequences
- Singly linked lists with head and tail
- Reversing a list and detecting a cycle in place
After this module you can
- Predict the cost of indexing, appending, inserting at the front and deleting from the middle of a contiguous array, and confirm it with a shift counter.
- Use two indices that move toward each other or at different speeds to solve a pair or partition problem in linear time.
- Reverse a singly linked list in place with three references and detect a cycle with slow and fast pointers using O(1) extra space.
03Stacks queues and hashing6 lessons, 3 to 4 hours
Lessons
- Stacks and last-in first-out matching
- Monotonic stack for next-greater queries
- Queues deques and circular buffers
- Hash functions buckets and chaining
- Load factor resizing and open addressing with deletion
- Choosing dict set and Map in practice
After this module you can
- Implement a stack with a Python list and use it to check balanced brackets of three kinds, reporting the first mismatch position.
- Solve next-greater-element in O(n) with a stack that keeps values in decreasing order, and prove the amortized bound by counting pushes and pops.
- Apply hash-based collections to counting, deduplication and two-sum, and explain hashability, key equality and the Python and JavaScript differences.
04Trees and heaps6 lessons, 3 to 4 hours
Lessons
- Binary tree nodes and the four traversals
- Height and shape by postorder recursion
- Binary search trees: insert search and delete
- Balance height bounds and one rotation
- Binary heaps stored in arrays
- Priority queues top-k and tie-breaking with heapq
After this module you can
- Build a binary tree from nodes and produce preorder, inorder, postorder and level-order sequences, predicting each by hand first.
- Compute height, node count, leaf count and a balanced check with a single postorder recursion, and state the base case and combining step for each.
- Use Python's heapq for a priority queue, select the k largest items in O(n log k), and prevent comparison errors on ties with a counter.
05Searching and sorting6 lessons, 3 to 4 hours
Lessons
- Binary search with a loop invariant
- Binary search on the answer
- Insertion sort stability and nearly sorted input
- Merge sort by divide and merge
- Quicksort partitioning and pivot choice
- Sort lower bound stability and non-comparison sorting
After this module you can
- Implement binary search for the first position of a target in a sorted list, justify it with an invariant, and match the behaviour of bisect_left.
- Solve a minimum-feasible-value problem by binary searching an answer range with a monotone yes/no check, and prove monotonicity before coding.
- Explain the Omega(n log n) lower bound for comparison sorts, implement counting sort for small integer keys, and choose a library sort with a correct comparator.
06Graphs and traversal6 lessons, 3 to 4 hours
Lessons
- Graph representations and their space cost
- Breadth-first search and shortest edge counts
- Depth-first search components and cycle detection
- Topological ordering of dependencies
- Dijkstra's algorithm with a heap
- Union-find and minimum spanning trees
After this module you can
- Build adjacency-list and adjacency-matrix representations for directed, undirected and weighted graphs and state the space and edge-query cost of each.
- Run breadth-first search with a queue to compute shortest edge-count distances and recover one shortest path using parent links.
- Implement union-find with path compression and union by size, and use it in Kruskal's algorithm to build a minimum spanning tree.
07Recursion and dynamic programming7 lessons, 3 to 5 hours
Lessons
- Recursion anatomy and the call stack
- Recursion trees and exponential blow-up
- Memoization with a dictionary and lru_cache
- Bottom-up tabulation and the coin change problem
- Two-dimensional DP: longest common subsequence and edit distance
- Zero-one knapsack and choosing DP over greedy
- Backtracking with pruning
After this module you can
- Write a recursive function with a base case and a smaller subproblem, trace its call stack, and use fast exponentiation to turn O(n) recursion into O(log n).
- Draw the recursion tree of naive Fibonacci, count repeated subproblems, and relate recurrences like T(n) = 2T(n-1) + 1 and T(n) = 2T(n/2) + n to their growth.
- Enumerate subsets and solve N-Queens by backtracking, and show with node counts how pruning shrinks the search tree.
08Language adapters5 lessons, 2 to 3 hours
Lessons
- The adapter contract and shared JSON test vectors
- Porting arrays, dictionaries, stacks and queues to JavaScript
- Porting sorting and comparators
- Porting heaps and graph algorithms
- Cross-language conformance report
After this module you can
- Write a language-neutral specification (name, inputs, outputs, ordering and tie rules) and a JSON test-vector file that both a Python and a JavaScript adapter must pass.
- Port the counted stack, queue, and hash-based two-sum from Python to JavaScript using Array and Map, and list the semantic differences encountered.
- Run both adapters over the complete vector set, produce a conformance report listing pass counts, failing categories and documented semantic differences, and fix one real divergence.
09Algorithm project4 lessons, 2 to 3 hours
Lessons
- From requirement to structure: the decision memo
- Oracle-based testing and counterexamples
- Honest benchmarks and complexity evidence
- Portfolio review and live demonstration
After this module you can
- Turn six written requirements into a decision memo that names a data structure or algorithm for each, with operation counts, assumptions and one rejected alternative.
- Write an implementation under test, a slow but obviously correct oracle, and a randomized test loop that finds and shrinks a counterexample.
- Assemble the portfolio, run the complete test and conformance suite from a clean checkout, and demonstrate three algorithms and one failure analysis to a reviewer.
What you'll build
6 guided projects along the way, then a final project.
Linear structures kit with cost table
after module 2Task board with hash table, BST and priority queue
after module 4Search and sort laboratory
after module 5Transit planner on a 40-vertex graph
after module 6Recurrence and dynamic programming problem set
after module 7Dual-language conformance suite
after module 8
Final project
Tested algorithm portfolio with Python and JavaScript adapters.
What you submit
Source repository with README, DECISIONS.md, adapters and test vectors (artifact submission).
How it's reviewed
Trainer-reviewed live demonstration of three algorithms and one counterexample with answers to what-if input changes. Marked against the course project review rubric.
Where you'll use it
- Pick the right data structure for a feature by stating the cost of each operation.
- Find shortest routes or dependency order in a small network of tasks or places.
Roles that use these skills
- Software engineer
- Backend developer
- Data engineer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
Which language is used?
Python 3 is the main lab language; module 8 ports algorithms to JavaScript.
What should I finish first?
Programming Problem Solving, plus the ability to read and write short Python functions.
How is Data Structures and Algorithms structured, and is it open now?
It has 9 modules and 52 lessons. It is not yet released to learners.
Be first in when Data Structures and Algorithms opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens

