Algorithms
Khan Academy / Free unit co-written with Thomas Cormen; articles and JavaScript challenges on sorting, recursion and graphs.
A curated list of courses, online judges, visualizations, books and competitions for learning and practicing algorithms. English and Korean.
This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.
Khan Academy / Free unit co-written with Thomas Cormen; articles and JavaScript challenges on sorting, recursion and graphs.
Geeks for Geeks / Free roadmap of articles and practice problems from arrays and sorting to graphs, DP and segment trees.
Korean / Inflearn / Free 55-lecture course by Prof. Oheum Kwon on recursion, sorting, trees, hashing, graphs and DP.
Class Central / Searchable catalog of hundreds of free and paid online courses on the subject, with reviews.
edX(IITBombay) / Six-week course on sorting, order statistics, string, geometric and graph algorithms; free to audit.
Udacity / Free self-paced course by Michael Littman that teaches graph algorithms and growth rates through social-network analysis.
MIT OCW / Undergraduate 6.006 by Demaine, Ku and Solomon; lecture videos, notes, problem sets and exams with solutions.
MIT OCW / Undergraduate 6.046J on divide and conquer, DP, randomization and complexity; videos, notes and exams.
MIT OCW / Earlier run of 6.006 by Demaine and Devadas; lecture and recitation videos, notes, Python assignments and exams.
MIT(Lecture notes) / Index of Erik Demaine's courses such as 6.006, 6.046 and 6.851, with lecture videos and notes.
UC Berkeley(Lecture notes) / CS 170 by Demmel and Shewchuk; notes and homework on graphs, DP, network flow and NP-completeness.
UC Berkeley(Lecture notes) / CS 61B by Jonathan Shewchuk; Java-based notes, videos, labs and projects on core data structures.
Coursera(Princeton University) / Sedgewick and Wayne's free Java course on sorting, searching and elementary data structures.
Coursera(Princeton University) / Sedgewick and Wayne's free Java course on graph and string algorithms, compression and intractability.
Free structured curriculum for competitive programming, from Bronze to Platinum.
Paid Content. / Harvard University / Extension School course by Michael Mitzenmacher on graph, approximation and randomized algorithms.
Paid Content. / Coursera(Stanford University) / Tim Roughgarden's four-course series on divide and conquer, graphs, greedy, DP and NP-completeness.
Algorithm practice track with problems grouped by topic, from warmup to dynamic programming.
Free lessons with practice tasks on time complexity, prefix sums, sorting and more.
Long-running Single Round Matches (SRMs) with a problem archive and editorials.
English, Russian / Rated rounds about once a week plus Educational rounds, a large problem archive and community blogs.
English, Japanese / Weekly Beginner Contests plus Regular, Grand and Heuristic contests, run by AtCoder Inc. in Japan.
Classic problem archive with the uHunt progress tracker and the ICPC Live Archive.
Kattis / Problems from recent ICPC World Finals, grouped by difficulty and judged on Kattis.
English, Russian, Arabic / Timed rounds with dynamic scoring plus built-in tools such as a graph editor and geometry tool.
Problem collection grouped by topic, from introductory problems to advanced techniques.
Coding challenges with video solutions; now primarily a candidate assessment platform.
Practice section for basic programming, data structures, algorithms and math, alongside hiring assessments.
Romanian / Community judge with main, educational, monthly and ACM archives, contests and ratings.
Problem archive with thousands of problems and difficulty scores.
Tutorials that teach algorithms and data structures by solving challenges.
English, Chinese / Interview-style problem bank tagged by topic and difficulty, with weekly and biweekly contests.
Bioinformatics and programming problems, starting with a Python Village for beginners.
Python 3 course for beginners with over 100 exercises.
Large archive of classical problems with support for many programming languages.
English, Spanish, Brazilian Portuguese / Large problem archive with contests, formerly URI Online Judge.
English, Chinese / Peking University judge with a large archive drawn from regional contests, plus monthly contests.
English, Japanese / Free judge run by the University of Aizu with over 2,000 problems from ICPC, JOI, PCK and introductory courses.
Mathematical problems that need both insight and programming to solve.
Annual December puzzle calendar with a new problem each day.
Korean / Translation of the Project Euler problems.
Korean / The most widely used Korean online judge.
Korean / Difficulty tiers and problem recommendations for Baekjoon.
Korean / Online judge and community run by the author of Algorithmic Problem Solving Strategies.
Korean / Online judge for Korea Olympiad in Informatics preparation.
Korean / Online judge with problem sets sorted by algorithm and tier, plus contests.
Korean / Online judge aimed at programming beginners.
Korean / Problem-solving practice site for sharpening coding skills.
Korean / Coding test practice problems for job preparation.
English, Korean / Samsung-run platform with practice problems, user-created OpenRound contests and the SCPC collegiate contest.
Korean / Samsung's learning platform with problems and courses for software skills.
Interactive platform that visualizes algorithms from code.
Interactive DFS and BFS explanations by Workshape.io.
English, Chinese, Indonesian / Animated visualizations of 24 data structure and algorithm modules with quizzes, by Steven Halim of NUS.
Mike Bostock's essay on visualizing sampling, shuffling, sorting and maze generation.
Interactive animations by David Galles, University of San Francisco.
Side-by-side animations comparing sorting algorithms, hosted by Toptal.
Interactive grid demo of A*, Dijkstra, BFS, Jump Point Search and other pathfinding algorithms.
Red Blob Games / Interactive tutorial by Amit Patel that builds A* up from breadth-first search, Dijkstra and greedy best-first.
Step-by-step visual execution of Python, JavaScript, C, C++ and Java code.
Interactive wiki whose visualisations run from real JavaScript implementations.
Browser demo for tinkering with a small neural network.
Curated list by enjalot of algorithm-visualization projects and tools such as Tailspin, Vamonos and Tangle.
JavaScript Programming Language / Oregon State library for browser visualizations of array and graph algorithms with breakpoints and step-back.
C ++ Programming Language / Timo Bingmann's demo that draws and plays a tone for each comparison across dozens of sorting algorithms.
Practice programming interview questions with worked solutions.
Practice coding interview questions organised by topic.
Curated problem roadmap with video explanations.
Study guide covering data structures, algorithms, runtime analysis, video lectures and interview books.
Free curated interview preparation materials, including the Blind 75 and Grind 75 question lists.
Multi-month computer science study plan for becoming a software engineer.
Over 120 algorithm and data structure challenges in Jupyter notebooks, with solutions and Anki flashcards.
Kevin Slavin / 2011 TED talk on how trading, espionage and recommendation algorithms shape everyday life.
Abdul Bari / 84 beginner lectures from complexity analysis through divide and conquer, greedy and dynamic programming.
Oresoft LWC / About 100 short beginner videos by Omkar Deshpande on asymptotic notation, sorting, searching and GATE problems.
Nptelhrd / 32 IIT Kharagpur lectures by P.P. Chakraborty on C programming, recursion, linked lists, trees and graphs.
MIT 6.006 / 32 undergraduate lectures and problem sessions by Demaine, Ku and Solomon on sorting, trees, graphs and DP.
MIT 6.046J / 34 advanced lectures and recitations by Demaine, Devadas and Lynch on randomization, flows and NP-completeness.
MIT 6.006 / 47 lectures and recitations by Devadas and Demaine on sorting, hashing, graph search, shortest paths and DP.
Animated comparison by udiprod.
Timo Bingmann / Six-minute video that visualizes and sonifies 15 sorting algorithms, from quicksort and merge sort to bogo sort.
Sapientia University / 14 videos in which folk dancers act out sorting and searching algorithms such as bubble, quick and merge sort.
Free book of functional algorithms and data structures with 120 exercises, in English and Chinese.
The Basic Toolbox by Mehlhorn and Sanders, with chapter PDFs available for download.
Free textbook and lecture notes from the University of Illinois.
Free / Antti Laaksonen / About 300 pages introducing competitive programming, from sorting and DP to graphs, number theory and geometry.
Free / Pat Morin's open textbook on lists, hash tables, search trees, heaps and graphs in Java, C++ and pseudocode editions.
Free / English, Chinese, Japanese and more / Beginner tutorial by krahets with animated illustrations and runnable code in 14 languages.
Gayle Laakmann McDowell's interview preparation book with 189 questions; solutions on GitHub, author on Quora.
Textbook by Jon Kleinberg and Éva Tardos, published by Pearson.
Fourth edition by Robert Sedgewick and Kevin Wayne, with the book site's code and exercises.
Fourth edition of the CLRS textbook by Cormen, Leiserson, Rivest and Stein.
Illustrated, beginner-friendly guide by Aditya Bhargava, published by Manning.
Korean / Textbook by Jongman Koo that teaches algorithm design through contest problems.
English translation of the e-maxx algorithm articles.
Time and space complexities of common data structure operations and sorting algorithms, by Eric Rowell.
Blog series on classic algorithms and data structures.
Quora / Community answers recommending fundamentals first, textbook study and steady practice on online judges.
Quora / Community answers that mostly point to CLRS, with Sedgewick, Skiena and Manber as alternatives.
Korean / Study notes from the NEXTERS club, published on NAVER D2.
The International Collegiate Programming Contest, the oldest and largest team programming competition for university students.
The International Olympiad in Informatics, the annual algorithmic competition for secondary school students.
Meta's annual open programming competition.
Weekly rated contests for beginners to experts.
Frequent rated rounds, the most active contest platform.
Official archive of problems and solutions from Code Jam, Kick Start and Hash Code, which ended in 2023.
Annual program that pairs students with open source organizations for a paid summer coding project.
Korean / Korea Olympiad in Informatics / Annual contest for elementary to high school students with an online first round and a second round for its medalists.
Korean / Union of Collegiate Programming Contest clubs / Annual three-person team contest with an online qualifier and an on-site final.
Open-source implementations of algorithms in every major language.
YouTube playlists of full MIT course lectures.
Curated list of data science learning resources.
Curated list of machine learning frameworks, libraries and software by language.
Solutions to the same tasks in as many programming languages as possible, for comparing how languages differ.
Nonprofit with a free K-12 computer science curriculum and the Hour of Code campaign.
Online game for Python and JavaScript coders.
PHP (Laravel) rewrite of the HUST judge that sends submissions to separate judge servers over RabbitMQ.
Korean / Startlink's write-up of how the Baekjoon judge was built and which technologies it runs on.
fffaraz/awesome-cpp
A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
yvoronoy/awesome-english
A collection of awesome study resources for learners of English.
JoseDeFreitas/awesome-youtubers
An awesome list of awesome YouTubers that teach about technology. Tutorials about web development, computer science, machine learning, game development, cybersecurity,…
tayllan/awesome-algorithms
A curated list of awesome places to learn and/or practice algorithms.
rossant/awesome-math
A curated list of awesome mathematics resources
liuchong/awesome-roadmaps
A curated list of roadmaps.