Search, sort, two pointers, greedy, graphs and dynamic programming.
Learn the techniques that turn slow code into fast code and hard problems into solvable ones. Binary search and its bounds, merge sort, quicksort and quickselect, two pointers, sliding windows, prefix sums, greedy choices, backtracking, Dijkstra, topological sort and dynamic programming — each implemented in JavaScript with checks for both correctness and speed.
Advanced · 15 lessons · about 9 hours · free
Start Algorithms free: run real code in your browserright here
Continue with GoogleBinary search, sorting with comparators, merge sort, quicksort and quickselect.
Two pointers, sliding windows, prefix sums, greedy choices and backtracking.
Dijkstra, topological sort and dynamic programming, combined in a planning capstone.
These courses make Algorithms easier:
Built with ❤️ by dibe.sh