Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

DSA, Competitive Programming & Competitive Math Reference Library

This page is a verified index of primary sources for data structures and algorithms, contest programming, and the competition-math side of contest work: the judges themselves, their official documentation and APIs, the curricula and textbooks, tooling and judge infrastructure, editorial archives, free university course material, and open-access research literature.

It is a navigation layer, not a tutorial. Where the rest of this book explains a concept, this page tells you which document, judge, or repository to open for the authoritative answer, and in what order to read things. Every link was HTTP-verified on the date shown below; sources that block automated checkers but work in a browser are flagged rather than silently dropped.

Three domains in one index, because in practice they are one training pipeline: DSA is the subject matter, competitive programming is where it is tested under a clock, and competitive math is the part that no CP curriculum teaches properly.

The overlap contract: the CS Theory chapters own complexity classes, computability, randomized algorithms and approximation as concepts; the Mathematics chapters own calculus, linear algebra, probability and statistics. The DSA, Competitive Programming and Competitive Math chapters own the explanations. This page owns the sources — the documents, judges and repositories those chapters point out from.

170 entries across 9 categories, plus 72 education & reference resources (37 basic / 35 advanced), 30 research sources, 35 video resources (24 channel entries in category 8 and 11 lecture playlists in the education track) and 3 conference sources.

Every link HTTP-verified on 2026-10-09.

LeetCode, AoPS community, Reddit, Blind, InterviewQuery, SPOJ, en.cppreference.com, dl.acm.org, epubs.siam.org and ScienceDirect return 403 or 429 to automated clients while loading normally in a browser — all are kept with an explicit note. a2oj.com, cftracker.net, livearchive.onlinejudge.org, icpcarchive.ecs.baylor.edu, algorithms.wtf, kt.cs.princeton.edu, datastructur.es, web.evanchen.us, code-drills.com and www.topcoder.com are dead or no longer resolve; the working replacements are used and noted in Honest notes.

Contents

1. Contest platforms & judges

Codeforces

AtCoder

LeetCode

CSES Problem Set

USACO

  • Docs: usaco.org · training pages
  • SDKs & repos: past contests
  • Downloadable / offline: Every past contest with official solutions
  • Note: The official US olympiad ladder, and still the best difficulty ramp anywhere. ⚠ The legacy training pages are mid-migration: new usaco.org accounts are not recognised there and a separate legacy account is needed.

CodeChef

  • Docs: codechef.com/practice · contests · learn
  • SDKs & repos: discuss.codechef.com — editorials and Q&A · practice root
  • Downloadable / offline: Practice problems persist; editorials live on Discuss
  • Note: India-heavy and underrated: the 10-day Long Challenge format teaches persistence and partial scoring in a way two-hour contests cannot. Its free /learn track is a genuine structured DSA course.

DMOJ

  • Docs: dmoj.ca/problems
  • Source: github.com/DMOJ/online-judge
  • Downloadable / offline: Judge server is open source — self-hostable
  • Note: The only large judge with an editorial filter in problem search. Carries CCC/CCO/IOI/COCI and a huge Canadian contest archive.

Kattis

  • Docs: open.kattis.com/problems
  • SDKs & repos: Problem archive tags; course-integration features used by many universities
  • Note: Huge bank, clean UI, and the judge most university algorithms courses actually use. Good for volume, thin on editorials.

ICPC

  • Docs: icpc.global
  • SDKs & repos: icpcarchive.github.io — community finals/regional collection
  • Downloadable / offline: Problem sets via the archive and Codeforces gyms
  • Note: The governing body: rules, regional structure, World Finals. For problems, use the archive or CF gyms — see Honest notes on the Live Archive.

IOI

oj.uz

  • Docs: oj.uz
  • SDKs & repos: IOI 2011 Race · IOI 2016 Aliens
  • Note: The best English-language mirror of national olympiad and IOI problems, with subtask scoring preserved. Where you go when you want olympiad-style problems without Chinese or Polish.

QOJ

  • Docs: qoj.ac
  • Note: Modern judge with a large gym of OI/ICPC problem sets. ⚠ Cloudflare-gated; automated checkers get an interstitial rather than the page.

SPOJ

  • Docs: spoj.com/problems/classical
  • Downloadable / offline: None
  • Note: Enormous and old. Excellent for drilling a single technique to death; weak statements and uneven test data. ⚠ Canonical host is spoj.com — spoj.pl is a dead end, and the site 403s automated clients on some paths.

UVa Online Judge

  • Docs: onlinejudge.org
  • SDKs & repos: uHunt — topic ladders, CP-book mapping and a virtual contest generator
  • Downloadable / offline: Problem PDFs by volume; uHunt keeps a full catalogue
  • Note: Thousands of classic problems, weak statements by modern standards. uHunt is the reason to bother: it gives UVa the topic-ladder structure the judge itself never had.

Timus

  • Docs: acm.timus.ru · mirror timus.online
  • Note: A classic hard bank with deliberately unforgiving I/O. Good training for “the statement is one sentence and the edge cases are yours to find”.

ACMP

  • Docs: acmp.ru
  • Note: Russian olympiad-style archive, unusually good for high-volume beginner practice with tight time limits.

beecrowd (URI)

  • Docs: judge.beecrowd.com/en
  • Note: Large beginner-friendly bank, strong in LATAM, English/Portuguese statements. Best used as warm-up volume, not for hard problems.

Luogu

  • Docs: luogu.com.cn
  • Note: The largest problem set anywhere, Chinese statements. Worth it for the solution discussions if you can read them or use machine translation; otherwise a last resort.

HDU

  • Docs: acm.hdu.edu.cn
  • Note: Massive Chinese archive with weak editorial culture. Use for volume on a specific tag.

Nowcoder

  • Docs: nowcoder.com
  • Note: Chinese contests plus campus/OA-style problem sets — useful if you want to see how Chinese placement exams are shaped.

LightOJ

  • Docs: lightoj.com
  • Note: Topic-categorised bank, popular in South Asia. Some content sits behind an account.

e-olymp

  • Docs: eolymp.com/en
  • Note: Multi-language training sets and school-level olympiad material. Broad, shallow.

Toph

  • Docs: toph.co
  • Note: Bangladeshi judge with a genuinely good problem set and clean editorial support. ⚠ Returns 405 to automated HEAD checks; loads in a browser.

CS Academy

  • Docs: csacademy.com
  • Note: Clean archive plus its own rounds. Small but well-curated; a nice change of pace.

VJudge

  • Docs: vjudge.net/problem · vjudge.net/contest
  • Note: Not a judge — a proxy. It pulls problems from other OJs so you can host your own virtual or mashup contest with teammates. Indispensable for team practice, useless as a source of truth.

Library Checker

Project Euler

  • Docs: projecteuler.net/archives · recent
  • Downloadable / offline: Problems are permanent; solutions are yours
  • Note: 1000+ problems that are half number theory, half implementation. The bridge between proofy math and code, and the strongest argument for learning modular arithmetic properly.

2. Curricula, textbooks & reference implementations

USACO Guide

Competitive Programmer’s Handbook

  • Docs: cses.fi/book/index.php
  • Downloadable / offline: book.pdf — free, complete draft
  • Note: The one coherent free CP textbook. Chapters 21–24 (number theory, combinatorics, matrices, probability) are the only free CP-math treatment sized right. The published Springer version (Guide to Competitive Programming) adds chapters if you want more.

CP3 book site (Halim & Halim)

  • Docs: cpbook.net
  • Downloadable / offline: Book is paid; the site is free
  • Note: The book is the standard reference for problem taxonomy; the site’s topic index is free and is the best “what should I learn next” map after USACO Guide.

cp-algorithms

IOI Syllabus

  • Docs: ioinformatics.org/page/syllabus/12
  • Downloadable / offline: ioi-syllabus-2025.pdf
  • Note: The authoritative scope document for olympiad-level DSA, maintained by the ISC. Cross-check your prep plan against it: it excludes calculus, statistics and combinatorial game theory outright.

Algorithms — Jeff Erickson

Open Data Structures

  • Docs: opendatastructures.org
  • Downloadable / offline: Free PDF by chapter; C++/Java/Python editions
  • Note: Free, complete, multi-language, and better written than most paid data-structure books. The proofs are short and the code is real.

Algorithms, 4th Edition

Algorithm Design (Kleinberg & Tardos)

  • Docs: cs.princeton.edu/~wayne/kleinberg-tardos
  • Downloadable / offline: Slides and errata free; book is paid
  • Note: The clearest writing on algorithm design technique, with the best network-flow chapter of any textbook. ⚠ kt.cs.princeton.edu is dead — this is the working official page.

The Algorithm Design Manual (Skiena)

  • Docs: algorist.com
  • Downloadable / offline: Lecture videos and resources free; book is paid
  • Note: Skiena’s “catalogue of algorithmic problems” is the best shortcut in existence for the question “what standard problem is this, actually?”.

KACTL

AtCoder Library

OI Wiki

  • Docs: oi-wiki.org
  • Note: Deep, continuously updated, Chinese-first. ⚠ The English mirror at oi-wiki.org/en/ 404s; use browser translation or USACO Guide instead.

PEG Wiki

  • Docs: wcipeg.com/wiki
  • SDKs & repos: Convex hull trick
  • Note: Older, unglamorous, and genuinely deep on CP-specific tricks. Better than Wikipedia for the things that only exist in contests.

3. Competitive math

IMO official

  • Docs: imo-official.org · problems.aspx · results.aspx
  • Downloadable / offline: Every IMO problem and result, 1959–present
  • Note: The primary archive. Use it rather than a scraper; the results page lets you calibrate how hard a given year’s P1 versus P3 actually was.

AoPS Wiki

  • Docs: artofproblemsolving.com/wiki
  • Downloadable / offline: MediaWiki — printable by page
  • Note: The reference corpus for competition math: theory pages plus per-year AMC/AIME/IMO/USAMO solutions. Free, community-maintained, uneven depth.

AoPS Community

AoPS Alcumus

  • Docs: artofproblemsolving.com/alcumus
  • Note: Free adaptive math trainer with topic targeting. The single best free drill tool in this category — it does spaced repetition of problem types, which is exactly what contest training needs.

TU Eindhoven IMO collection

  • Docs: olympiads.win.tue.nl/imo
  • Downloadable / offline: Problem and shortlist PDFs by year
  • Note: One of the few organised collections of IMO shortlists, which — not the contests themselves — are the real training set at IMO level.

Kalva

  • Docs: prase.cz/kalva · mirror mks.mff.cuni.cz/kalva
  • Note: John Scholes’ classic archive: IMO, USAMO and national olympiads with solutions alongside statements. Two independent mirrors exist for a reason — keep both.

Evan Chen

  • Docs: web.evanchen.cc · olympiad · problem sets · mock AIME · recommendations
  • Downloadable / offline: Napkin — free PDF, a fast higher-math cheat-sheet
  • Note: The best free olympiad-math training index on the internet, from an IMO gold medallist. Napkin is the fastest route from “I know contest math” to “I can read the language real mathematicians use”. ⚠ web.evanchen.us no longer resolves.

Yufei Zhao

  • Docs: yufeizhao.com
  • Downloadable / offline: Lecture notes and handouts as PDFs
  • Note: MIT faculty and a former olympiad medallist; his handouts (combinatorics, number theory, graph theory) are short, modern and pitched exactly at the olympiad/research boundary.

MAA — AMC

  • Docs: maa.org/student-programs/amc · amcreg
  • Note: Official home of AMC 8/10/12 — the entry rung of the US ladder. ⚠ Old maa.org/math-competitions/* paths now 404; these are the current ones.

MAA — invitational competitions

MAA — Putnam archive

  • Docs: maa.org/maa-putnam-archive · maa.org/putnam
  • Downloadable / offline: Official problems and solutions by year
  • Note: This is the official archive — the one that used to be awkward to find. The premier undergraduate exam in North America; median score is frequently zero, which tells you how to use it.

Kedlaya’s Putnam archive

  • Docs: kskedlaya.org/putnam-archive
  • Note: Long-standing mirror covering older years, results and winner lists the official archive does not surface as conveniently. Keep it alongside the MAA one.

USAMTS

  • Docs: usamts.org
  • Note: Free, proof-graded, by-mail US contest with generous deadlines. Rare and valuable: full-solution grading by a human is the only way to learn to write proofs.

UKMT

  • Docs: ukmt.org.uk
  • Note: The UK ladder (Junior/Senior/BMO). Its mentoring scheme and past papers are high quality and less saturated than AoPS material.

IMC

  • Docs: imc-math.org.uk
  • Note: International Mathematics Competition for University Students. Problems and solutions free; a good step up from olympiad geometry into analysis-flavoured contest math.

AwesomeMath

  • Docs: awesomemath.org
  • Downloadable / offline: Free sample problems and course outlines
  • Note: Summer camps plus a book line by olympiad coaches, several of them former IMO team leaders. The books are the reason it is indexed here — they sit between AoPS’s introductory texts and research-level problem books.

HBCSE Olympiads (India)

  • Docs: olympiads.hbcse.tifr.res.in
  • Note: The official Indian olympiad programme: PRMO, RMO, INMO and the IMOTC. If you are in India this is the actual pipeline, and its past papers are the realistic difficulty reference — not AoPS highlight reels.

MATHCOUNTS

  • Docs: mathcounts.org
  • Note: The US middle-school competition pipeline. Only relevant if you are starting from a weak math base — but if you are, it is the correct rung to start on rather than jumping to AMC 10.

OEIS

  • Docs: oeis.org
  • SDKs & repos: e.g. A002188
  • Note: Turns “1, 2, 6, 22, 101…” into a closed form, recurrence, generating function and citations. On CP problems with a combinatorial flavour this is close to an unfair advantage.

generatingfunctionology (Wilf)

  • Docs: Penn Online Books record — stable catalogue entry with the download link
  • Downloadable / offline: Free PDF, 2nd edition, from the author’s publisher-sanctioned copy
  • Note: The best single source for generating functions once combinatorics starts hurting; the enumerative tool CP counting problems quietly assume. ⚠ I could not confirm a durable direct PDF URL — the UPenn pages block automated clients. Use the catalogue record above, or search Wilf generatingfunctionology pdf site:upenn.edu.

Shoup — A Computational Introduction to Number Theory and Algebra

  • Docs: shoup.net/ntb
  • Downloadable / offline: ntb-v2.pdf — free, author-hosted
  • Note: The only number-theory-and-algebra book written for people who will implement the algorithms. Free from the author, rigorous, and it covers modular arithmetic properly — which almost no CP resource does.

4. Tooling, judge infrastructure & analytics

clist.by

  • Docs: clist.by · problems
  • Developer / API: clist.by/api/v4/doc
  • Note: The only reliable single calendar for Codeforces, AtCoder, CodeChef and ICPC mirrors, in your timezone, plus a cross-judge problem search. ⚠ clist.by/api/ (bare) 404s — the docs path above is the working one.

Codeforces API

  • Developer / API: codeforces.com/apiHelp
  • SDKs & repos: e.g. api/problemset.problems, api/user.rating, api/user.info
  • Note: Unofficial and undocumented in places, but stable for a decade. The only way to build your own rating tracker or problem recommender without scraping HTML.

AtCoder Problems (kenkoooo)

online-judge-tools/oj

  • Source: github.com/online-judge-tools/oj
  • SDKs & repos: Sibling verification-helper
  • Note: Submit, download samples and run local tests from the command line across Codeforces, AtCoder, AOJ and more. Once you use it, browser submission feels like a regression.

cf-tool

  • Source: github.com/xalanq/cf-tool
  • Note: Codeforces from the terminal: parse, generate, submit, watch verdicts. Pairs with competitive-companion.

competitive-companion

  • Source: github.com/jmerle/competitive-companion
  • Note: Browser extension that hands a problem — statement, samples, limits — straight to your editor. The missing link between reading a problem and writing code.

atcoder-cli

testlib

  • Source: github.com/MikeMirzayanov/testlib
  • Note: testlib.h, by Codeforces’ author — the standard checker/generator/validator library. If you ever host a contest or generate stress tests, this is what the ecosystem uses.

Library Checker problems

DMOJ judge server

  • Source: github.com/DMOJ/online-judge · hydro-dev/Hydro
  • Note: Two production-quality open-source judges. Self-host one if you want full control over time limits, checkers and scoring — or just to understand what a judge actually does.

Compiler Explorer

  • Docs: godbolt.org
  • Note: Read the assembly your solution actually compiles to. The fastest cure for cargo-cult “optimisation” in hot loops.

cppreference

  • Docs: en.cppreference.com/w
  • Downloadable / offline: Offline archive builds available
  • Note: The C++ standard’s readable form. ⚠ 403s automated clients; loads fine in a browser.

StopStalk

  • Docs: stopstalk.com
  • Note: Cross-judge activity tracker, popular in India: aggregates solves and ratings across Codeforces, CodeChef, SPOJ, HackerRank and more.

Nayuki — fast Fibonacci algorithms

  • Docs: nayuki.io/page/fast-fibonacci-algorithms
  • Note: The clearest treatment of fast doubling and matrix methods for linear recurrences, with proofs and implementations. The reference to reach for before implementing Berlekamp–Massey or Bostan–Mori.

Chess Programming Wiki

  • Docs: chessprogramming.org · Zobrist hashing · MCTS
  • Note: Not a chess resource in this context — it is the best free writing on hashing, transposition tables, bitboards and adversarial search anywhere. Directly transferable to CP game and search problems.

Apache DataSketches

Sorting implementations

Complexity Zoo

  • Docs: complexityzoo.net
  • Note: The catalogue of complexity classes. Use it to stop hand-waving about NP-hardness in interviews.

5. Interview & online-assessment platforms

LeetCode (company / premium)

  • Docs: leetcode.com/company
  • Note: The company-tag filters are Premium. Most “company-wise preparation” advice silently assumes you have it; if you do not, the free substitutes below are the fallback.

HackerRank

CodeSignal

  • Docs: app.codesignal.com/arcade
  • Note: CodeSignal is a real OA vendor, and Arcade mirrors its problem style. Practising in the vendor’s idiom is worth more than it sounds.

Codility

CoderPad

  • Docs: coderpad.io
  • Note: The live-coding environment many companies conduct interviews in. Practise in the actual tool — the muscle memory matters when someone is watching.

Pramp

  • Docs: pramp.com
  • Note: Free peer mock interviews. The highest-value free item in this category: speaking practice is the skill nobody drills and every candidate fails.

interviewing.io

  • Docs: interviewing.io
  • Note: Mock interviews with real interviewers, anonymised until the end. Paid beyond the free content.

Exponent

  • Docs: tryexponent.com
  • Note: SWE/PM/EM tracks with structured mocks. Limited free tier.

Hello Interview

  • Docs: hellointerview.com
  • Note: Currently the best free structured behavioural and coding prep, with a genuinely usable question bank and frameworks.

Blind

  • Docs: teamblind.com
  • Note: The largest crowdsourced bank of real OA and interview questions, tagged by company. Treat every entry as a dated anecdote, not a syllabus. ⚠ 403s automated clients.

Naukri Code360

  • Docs: naukri.com/code360 · problems
  • Note: India-centric, free, with company-tagged problem sets. A real substitute for LeetCode Premium’s company filters.

Coding Ninjas Studio

GeeksforGeeks company-wise

InterviewQuery

  • Docs: interviewquery.com
  • Note: Data/ML-leaning interview prep; some free questions, most behind a paywall. ⚠ Rate-limits automated clients (429).

takeUforward (Striver’s SDE sheet)

Sean Prashad — LeetCode patterns

  • Docs: seanprashad.com/leetcode-patterns
  • Note: The fastest pattern → problem map: from “I cannot solve this” to “this is a monotonic stack”. A lookup table, not a course — pair it with an ordered list like NeetCode’s roadmap.

AlgoDaily

  • Docs: algodaily.com
  • Note: Daily concept review; good for maintenance, weak for depth.

Structy

  • Docs: structy.net
  • Note: Pattern-based course with built-in visualisation. Paid, cheap, and unusually well-structured for absolute beginners.

ByteByteGo

  • Docs: bytebytego.com
  • Note: The best free system-design visual reference. Adjacent to DSA, but system design is the other half of the same interview loop.

DataLemur

  • Docs: datalemur.com
  • Note: Free SQL and stats with some coding. Only relevant if you are targeting data or analytics roles.

Adjacent practice platforms

6. Editorials & solution archives

LeetCode official solutions

Codeforces editorials

  • Docs: Linked from each contest’s tutorial blog post on codeforces.com/contests
  • Note: Written by the setters. Always prefer these to third-party write-ups — intent is not inferable from an accepted solution.

AtCoder editorials

  • Docs: Per-contest “Editorial” tab on atcoder.jp/contests
  • Note: Short, precise, official, and reliably present — the best editorial culture among the big three.

CodeChef Discuss

  • Docs: discuss.codechef.com
  • Note: Where CodeChef editorials and the per-problem Q&A live. Search before asking; almost everything has been answered.

algo.monster

  • Docs: algo.monster · editorials
  • Note: Structured LeetCode-style editorials plus pattern guides. The pattern pages are the useful part.

walkccc.me

  • Docs: walkccc.me · LeetCode index
  • Note: The best searchable per-problem LeetCode index, with multi-language code. Fast lookup, minimal prose.

leetcode.ca

  • Docs: leetcode.ca · all problems
  • Note: Full-text searchable solutions and discussion mirror. Works without a LeetCode account.

doocs/leetcode

neetcode.io/solutions

Petr Mitrichev’s blog

  • Docs: petr-mitrichev.blogspot.com
  • Note: A top competitor’s running analysis of every major contest, for over a decade. The best available model of how a strong contestant actually thinks.

7. University & MOOC course material

MIT OpenCourseWare

  • Docs: ocw.mit.edu
  • SDKs & repos: 6.006 · 6.046J · 6.851 · 6.854J · 6.042 · 18.781 · 18.06SC
  • Downloadable / offline: Lecture notes, assignments and exams as PDFs
  • Note: The free core of a theory CS degree. 6.006 for foundations, 6.046J/6.854J for proofs, 6.851 past CLRS-level structures, 6.042 for the discrete math that CP assumes, 18.781 for number theory.

Stanford CS 97SI

  • Docs: web.stanford.edu/class/cs97si
  • Note: “Introduction to Programming Contests” — one of very few university courses aimed straight at contests. Dense, free, and short.

Stanford CS 161

Princeton Algorithms (Coursera)

  • Docs: coursera.org/learn/algorithms-part1
  • Note: Sedgewick’s course — the best-paced implementation-first algorithms course. ⚠ Coursera audit access varies by course and changes without notice.

Stanford Algorithms Specialization

UCSD DSA Specialization

Discrete Mathematics Specialization

NPTEL — Design & Analysis of Algorithms (IIT Bombay)

  • Docs: nptel.ac.in/courses/106101060
  • Downloadable / offline: Free video lectures and assignments
  • Note: Aligned to Indian B.Tech syllabi and GATE, free, and certifiable. The local canonical for this subject.

NPTEL — DAA (CMI)

SWAYAM

  • Docs: swayam.gov.in · course index at nptel.ac.in/courses
  • Note: India’s credit-bearing MOOC platform. Filter Computer Science → Algorithms / Discrete Mathematics.

Harvard CS50x

  • Docs: cs50.harvard.edu/x
  • Note: Only if DSA still feels blocked by programming basics. Skip otherwise.

Khan Academy

  • Docs: khanacademy.org/math
  • Note: Free remediation for pre-college math gaps. Do this before attempting olympiad material, not alongside it.

Brilliant

  • Docs: brilliant.org
  • Note: Paid. Builds intuition interactively; does not build contest volume.

OSSU Computer Science

  • Source: github.com/ossu/computer-science
  • Note: A full self-taught CS curriculum assembled from free university courses. Use its algorithms and discrete-math slots to sequence everything above.

Course directories

Commonlounge

  • Docs: commonlounge.com
  • Note: Text-based CP and algorithms courses with a discussion layer. Beginner-friendly and occasionally stale; useful as a second explanation when the primary one does not land.

CMU 15-210

  • Docs: cs.cmu.edu/~15210
  • Note: Parallel and sequential data structures, with a free textbook. The best treatment of the functional/parallel DS perspective most CP resources skip.

MIT 6.042 Mathematics for Computer Science

  • Downloadable / offline: mcs.pdf — free, complete
  • Note: Proof techniques, induction, counting, probability. Fixes the actual deficit most CP learners have: it is not coding, it is proof and counting.

8. Community, video & aggregators

Codeforces blog

  • Docs: codeforces.com/blog/entry/23054 — “An awesome list for competitive programming”
  • Note: The best single directory of CP resources, maintained in the open on the largest CP site. Start here when you want something this page does not list.

r/competitiveprogramming

r/leetcode

  • Docs: reddit.com/r/leetcode
  • Note: Interview-prep side of the community: offer timelines, OA reports, company-specific threads.

r/algorithms

  • Docs: reddit.com/r/algorithms
  • Note: Smaller and more theory-leaning; good for “why does this work” questions.

Errichto (video)

  • Docs: youtube.com/@Errichto
  • Note: Contest strategy and live solving. The closest thing to watching a strong contestant think out loud.

SecondThread (video)

Algorithms Live! (video)

  • Docs: youtube.com/@AlgorithmsLive
  • Note: Advanced contest technique, aimed past Div1-C. Watch once you can follow the references without pausing.

Tushar Roy (video)

Abdul Bari (video)

NeetCode (video)

take U forward (video)

Algorithmist — Programming Live with Larry

  • Docs: youtube.com/@Algorithmist · videos
  • Note: The best pure “video solutions” channel: Larry was a red Topcoder, a Google Code Jam finalist, top-100 on Advent of Code and top-50 on LeetCode, and he has run 500+ interviews. He solves live and explains as both interviewer and interviewee — nobody else shows you both sides of that dialogue.

Colin Galen

  • Docs: youtube.com/@colingalen
  • Note: USACO Silver/Gold and Codeforces solution videos, with the reasoning left in. Best CP video resource between “I can do ABC C” and “I want Platinum”.

Back To Back SWE

  • Docs: youtube.com/@backtobackswe
  • Note: Interview-pattern walkthroughs that spend real time on why the obvious approach fails before presenting the right one. The closest thing to a good mock interviewer on video.

Kevin Naughton Jr.

  • Docs: youtube.com/@kevinnaughtonjr
  • Note: Calm, complete LeetCode walkthroughs, one problem at a time. Good for your first pass over a new pattern, before you try it alone.

CS Dojo

  • Docs: youtube.com/@CSdojo
  • Note: Beginner-friendly DSA from an ex-Google engineer. The right first exposure if arrays and recursion are still shaky — too slow past that point.

mycodeschool

  • Docs: youtube.com/@mycodeschool
  • Note: The classic DSA lecture series — pointers, linked lists, trees, hashing, DP — still among the clearest explanations ever recorded. The channel is dormant; treat it as an archive, not a feed.

William Fiset

  • Docs: youtube.com/channel/UCD8yeTczadqdARzQUp29PJw
  • SDKs & repos: github.com/williamfiset/Algorithms — every structure in the videos has code here
  • Downloadable / offline: The full “Data Structures Easy to Advanced” course is mirrored on freeCodeCamp
  • Note: A complete DSA course in Java plus a dedicated graph-theory series, and the only channel whose videos and repository line up one-to-one. ⚠ The channel lives at the legacy /channel/UC… URL — the @williamfiset handle 404s.

Aditya Verma

  • Docs: youtube.com/@AdityaVerma
  • Note: The dynamic-programming series that most Indian placement aspirants actually learn DP from, plus CP topic playlists. Slow, cumulative, and worth the hours if DP is your wall.

Indian DSA & placement channels

University & course channels

  • Docs: MIT OpenCourseWare · Stanford Online · freeCodeCamp
  • Note: Full lecture recordings — MIT 6.006 and Stanford CS161 among them — and freeCodeCamp hosts complete multi-hour DSA courses (Fiset’s data-structures course lives there). Slow, but they are the only videos here with an accompanying problem set.

More contest & interview video solutions

  • Docs: William Lin (tmwilliamlin168) · Neal Wu · Bo Qian
  • Note: Three competitors who post worked solutions with the reasoning intact. William Lin and Neal Wu sit at the Codeforces/ICPC end; Bo Qian is LeetCode-style but unusually rigorous about data-structure internals. Watch one, attempt the next one yourself.

Algorithm concept channels

  • Docs: Reducible · 3Blue1Brown · ByteByteGo
  • Note: Concept-first videos for when the algorithm still feels like magic: Reducible on DP, graph algorithms and NP-completeness; 3Blue1Brown on the visual intuition behind linear algebra, calculus and Fourier methods; ByteByteGo for system-design diagrams. These teach why, never the implementation.

Math channels (contest & intuition)

  • Docs: Art of Problem Solving · Michael Penn · SyberMath · blackpenredpen · MindYourDecisions · Numberphile
  • Note: AoPS’s own channel is the only official one here; Michael Penn and SyberMath work through olympiad-style problems on camera, blackpenredpen is the algebra/olympiad grind, MindYourDecisions is puzzle-shaped counting and probability, Numberphile is exposure. All are supplementary — none replaces working problems on paper.

More course & lecture channels

  • Docs: Khan Academy · Dr. Trefor Bazett · AlgoExpert · HELLO INTERVIEW
  • Note: Khan Academy for math remediation, Trefor Bazett for discrete math and linear algebra at university pace, AlgoExpert and Hello Interview for structured interview content with free samples. Paid upsells behind two of them — the free material stands on its own.

More Indian DSA channels

  • Docs: CodeWithHarry · Coding Blocks · Scaler
  • Note: The second tier of the Indian placement ecosystem: full DSA playlists, C++ and Java tracks, and interview series. Same caveat as the first cluster — first exposure is fine, verification is on you, and the paid bootcamps behind two of these are deliberately not indexed here.

UC Berkeley CS 61B (video)

  • Docs: youtube.com/@cs61b · Data structures playlist
  • Note: Hug’s data-structures course, in Berkeley’s order, with the labs. The Java-flavoured counterpart to MIT 6.006, and better paced for a first pass.

DSA full-course playlist (video)

GeeksforGeeks DSA tutorial

Programiz

  • Docs: programiz.com/dsa
  • Note: Clean visual explanations for absolute beginners. Thin past intermediate level.

TutorialsPoint

W3Schools DSA

freeCodeCamp

  • Docs: freecodecamp.org/news
  • Note: Community articles — quality varies by author, but the search coverage is enormous.

basecs

  • Docs: medium.com/basecs
  • Note: Illustrated, careful explainers on fundamental DS and algorithms. Excellent writing; ⚠ Medium 403s automated clients.

Educative — Grokking the Coding Interview

9. Repositories & awesome lists

TheAlgorithms

LeetCode solution repositories

Interview-prep repositories

Awesome lists & discovery

CP template libraries

Visualisation repositories

  • Source: algorithm-visualizer/algorithm-visualizer
  • SDKs & repos: VisuAlgo · USFCA Data Structure Visualizations
  • Downloadable / offline: Run the visualiser locally from the repo
  • Note: Intuition builders, not training. ⚠ The hosted algorithm-visualizer.org site did not resolve at verification time — build it from the repository instead. USFCA’s Galles visualisations are the ones university courses embed, and they are the most reliable of the three.

Education & reference implementations

Two tracks: Basic builds the foundations, Advanced is about reading and extending real implementations. Everything listed is free and publicly accessible.

Basic

37 resources across 7 topics.

Where to start

  • USACO Guide — Start at your division (Bronze or Silver for most readers) and work the modules in order. The only CP curriculum with a proper ramp.
  • Competitive Programmer’s Handbook — Read chapters 1–10 alongside the CSES problem set. Free, coherent, and short enough to finish.
  • AtCoder Beginners Selection — Eleven problems that tell you whether you can actually implement what you think you understand.
  • Stanford CS 97SI — A university course about contests specifically. One sitting, high density.

The algorithm theory floor

The math floor

  • MIT 6.042 MCS — Proofs, induction, counting, probability. The deficit almost every self-taught programmer has.
  • MIT 18.06SC Linear Algebra — Matrices, needed before linear recurrences and Gaussian elimination mod p.
  • Project Euler — Three to five problems a week. Forces modular arithmetic and big integers on you.
  • AoPS Alcumus — Free adaptive trainer. Best free drill tool for competition math.
  • Khan Academy — Remediation first if pre-college math is shaky.

Building the habit

  • AtCoder ABC archive — One ABC per week, timed, all problems you can reach.
  • Codeforces EDU courses — Structured tracks on the judge you will actually contest on.
  • clist.by — Put the calendar in front of you so contests stop sneaking up on you.
  • CSES Problem Set — The topic-ordered drill set; the benchmark for “ready for CF 1600”.

Reading and writing code that judges accept

  • cppreference — The C++ standard in readable form. Look things up here, not on a forum.
  • Compiler Explorer — Look at the assembly once. It cures most cargo-cult micro-optimisation.
  • online-judge-tools/oj — Submit and test from the command line; stop clicking through the browser.
  • competitive-companion — Problem statement and samples straight into your editor.

Video courses & playlists

If your target is interviews, not contests

Advanced

35 resources across 6 topics.

Reference implementations worth reading

Algorithms past CLRS

Math for the top end of contests

Olympiad problems, properly hosted

  • oj.uz — English-language olympiad problems with subtask scoring.
  • IOI Syllabus — Know the actual scope; it excludes calculus, statistics and combinatorial game theory.
  • DMOJ — Search by category and by “has editorial”.
  • COCI · POI · USACO past contests — The national archives with real difficulty ladders.
  • QOJ — Modern gym of OI/ICPC sets.

Team and contest infrastructure

  • testlib — Checkers, generators and validators; the ecosystem standard.
  • VJudge contests — Host a virtual or mashup contest for your team.
  • DMOJ judge · Hydro — Self-host a judge and learn what the black box actually does.
  • Codeforces API · clist API — Build your own tracker or problem recommender.

Reading research

Research papers & open-access literature

arXiv

  • Docs: arxiv.org
  • Developer / API: info.arxiv.org/help/api/index.html
  • SDKs & repos: Preprints across all of CS; algorithms work lands here first
  • Downloadable / offline: Every paper is a free PDF; bulk access documented at info.arxiv.org/help/bulk_data
  • Note: Not peer-reviewed. An arXiv-only paper is a claim, not a result — but it is where almost everything is first readable.

ar5iv

  • Docs: ar5iv.labs.arxiv.org
  • SDKs & repos: Renders any arXiv paper as responsive HTML
  • Downloadable / offline: Free; swap arxiv.org/abs/ID for ar5iv.labs.arxiv.org/html/ID
  • Note: Makes papers readable on a phone. Underused.

alphaXiv

  • Docs: alphaxiv.org
  • SDKs & repos: arXiv papers with a public comment and discussion layer
  • Downloadable / offline: Free
  • Note: When a paper is contested, the discussion is where you find the critique.

Semantic Scholar

  • Docs: semanticscholar.org
  • Developer / API: api.semanticscholar.org/graph/v1
  • SDKs & repos: 200M+ papers with citation graph, influential-citation scoring, TLDRs
  • Downloadable / offline: Free Graph API; bulk datasets on request
  • Note: “Highly influential citations” is a genuinely useful filter for finding what actually mattered.

OpenAlex

  • Docs: openalex.org
  • Developer / API: api.openalex.org/works
  • SDKs & repos: Fully open catalogue of works, authors, venues and institutions
  • Downloadable / offline: Free API, no key; complete database snapshots downloadable
  • Note: The only large bibliographic database that is open all the way down.

DBLP

  • Docs: dblp.org
  • SDKs & repos: Authoritative CS bibliography — complete author and venue listings
  • Downloadable / offline: Free; full XML dump downloadable
  • Note: The fastest way to see everything one researcher published, or one conference’s full programme by year.

OpenReview

  • Docs: openreview.net
  • SDKs & repos: Papers plus full review threads
  • Downloadable / offline: Free; REST API
  • Note: Reading reviews and rebuttals teaches you how a field evaluates work.

CORE

  • Docs: core.ac.uk
  • SDKs & repos: Aggregates open-access repositories worldwide
  • Downloadable / offline: Free API
  • Note: The best broad search when you cannot remember which venue a paper appeared in.

Unpaywall

  • Docs: unpaywall.org
  • SDKs & repos: Legal free full-text lookup by DOI
  • Downloadable / offline: Free API and browser extension
  • Note: The legitimate route around paywalls: it finds the author’s copy, not a pirate PDF.

Papers We Love

  • Docs: paperswelove.org
  • SDKs & repos: Curated papers with recorded talks
  • Note: Start here when you do not yet know which papers matter.

The Morning Paper (archive)

  • Docs: blog.acolyer.org
  • SDKs & repos: Around a thousand papers summarised in plain language
  • Downloadable / offline: Free, complete archive
  • Note: Adrian Colyer’s summaries are the fastest way to triage a paper before reading it.

ECCC

  • Docs: eccc.weizmann.ac.il
  • Downloadable / offline: All reports free
  • Note: The theory community’s own preprint server — algorithms results often appear here before or alongside arXiv.

DROPS / LIPIcs

  • Docs: drops.dagstuhl.de
  • Downloadable / offline: Fully open proceedings
  • Note: Where ICALP, ESA, STACS and SWAT live — the main European algorithms venues, and entirely open access.

ACM Digital Library

  • Docs: dl.acm.org
  • Downloadable / offline: ACM Open articles free; rest paywalled
  • Note: STOC, FOCS (via IEEE), SODA-hosted and TALG content. ⚠ 403s automated clients; loads in a browser. Search authors’ pages and arXiv first.

IEEE Xplore

  • Docs: ieeexplore.ieee.org
  • Downloadable / offline: Mostly paywalled; the legal free route is arXiv plus author pages
  • Note: FOCS proceedings and a long tail of algorithms papers. Always check arXiv first.

SIAM — SICOMP

  • Docs: epubs.siam.org/journal/smjcat
  • Downloadable / offline: Paywalled; preprints usually free via authors or arXiv
  • Note: SIAM Journal on Computing — the venue for the hard results on graph algorithms and complexity. ⚠ 403s automated clients.

SODA / ALENEX / SOSA

  • Docs: name-only — SIAM conference pages are year-scoped and move annually; search the conference name plus the year
  • Note: SODA is the flagship algorithms conference; ALENEX is implementation and experimentation; SOSA is simplified/practical algorithms. Most papers have free preprints.

ICALP / ESA / STACS / SWAT

  • Docs: name-only; proceedings via DROPS/LIPIcs — fully open
  • Note: The European counterpart to SODA, and easier to read for free because LIPIcs is open by default.

WADS / IPEC / TAMC

  • Docs: name-only — WADS (algorithms and data structures), IPEC (parameterized complexity), TAMC (algorithms and computation)
  • Note: Where the “small parameter, huge input” half of modern algorithms lives. If you read one book on it, read Cygan et al. below.

Theory of Computing

  • Docs: theoryofcomputing.org
  • Downloadable / offline: Fully open access
  • Note: Free, rigorous, and free of the paywall politics of the commercial journals.

Algorithmica

  • Docs: link.springer.com/journal/453
  • Downloadable / offline: Some open-access articles; most paywalled
  • Note: The main journal for algorithmic engineering — where a result becomes a usable algorithm.

Theory of Computing Systems / TALG

  • Docs: name-only — ToCT has no stable standalone host (acmtoct.acm.org did not resolve at verification time); TALG lives at dl.acm.org/journal/talg
  • Note: Both are paywalled in part; find authors’ copies.

IPL & Discrete Applied Mathematics

  • Docs: name-only — sciencedirect.com/journal/information-processing-letters and /discrete-applied-mathematics
  • Downloadable / offline: Paywalled; ⚠ ScienceDirect 403s automated clients
  • Note: Short-paper venues where many classic CP-adjacent tricks were first published. Use Unpaywall.

Electronic Journal of Combinatorics

  • Docs: combinatorics.org
  • Downloadable / offline: Fully open
  • Note: Free and the natural home for the enumerative combinatorics that CP’s counting problems draw on.

INTEGERS

  • Docs: math.colgate.edu/~integers
  • Downloadable / offline: Fully open
  • Note: The Electronic Journal of Combinatorial Number Theory — combinatorial game theory and integer-sequence work, both CP-relevant.

Journal of Integer Sequences

  • Docs: cs.uwaterloo.ca/journals/JIS
  • Downloadable / offline: Fully open
  • Note: The journal behind OEIS. Where you go when a sequence turns out to be new.

Mathematics of Computation

  • Docs: ams.org — mcom
  • Downloadable / offline: Partly open; older volumes free
  • Note: Computational number theory at research level — the deep end of Shoup.

Olympiads in Informatics

  • Docs: ioinformatics.org/journal
  • Downloadable / offline: Fully open
  • Note: A peer-reviewed journal about olympiad problems and informatics education, from the IOI itself. Free, niche, and the only academic venue for the thing you are actually practising.

Parameterized Algorithms (Cygan, Fomin, Kowalik, Lokshtanov, Marx, Pilipczuk, Pilipczuk, Saurabh)

  • Docs: link.springer.com/book/10.1007/978-3-319-21275-3
  • Downloadable / offline: Paid; the authors circulate free copies and lecture notes on it
  • Note: The standard text on FPT and kernelization — the branch of algorithms most relevant to contest-hard problems. ⚠ Springer returned a client challenge to automated checks; loads in a browser.

Papers worth reading first

Conference videos, notes & archives

3 resources across 1 group. Competitive programming has no talk circuit. The archive that matters here is the task archive, not the video — so this section is short, and it points at problem sets rather than slides. Every URL returned 200 on 2026-10-09.

Competition archives

Note: No official YouTube channel exists for Codeforces, AtCoder, CodeChef or the ICPC — checked across several rounds on 2026-10-09, every plausible handle either 404s or belongs to someone else. The community channels in category 8 are the only video source for contest material, and the task archives above are the only authoritative one.

If you only do three things

  1. Finish one curriculum, not four. Pick USACO Guide or the CPH + CSES pair and take it to completion, solving ≥80% of the problems in order. The failure mode in this field is not starting the wrong resource — it is starting five right ones.
  2. Write a template and verify it. Build your own segment tree, modint, DSU and maxflow, then submit them to Library Checker until they pass. A library you have verified is worth more than a library you have read about.
  3. Do the math block every week, separately. One chapter of MIT 6.042 or Shoup plus three Project Euler problems. Contest performance past ~1800 is gated far more by counting, modular arithmetic and proof than by knowing another data structure.

Honest notes

  • The CP curriculum market is saturated and the interview-prep market is worse. There are more “complete DSA roadmaps” than there are distinct ideas in them. Depth in one beats breadth across five; the ordering in USACO Guide exists because someone sequenced the dependencies.
  • Aggregators are fine to read and wrong to cite. GFG, Programiz, TutorialsPoint and W3Schools carry real breadth and no accountability — off-by-one errors and wrong complexity claims survive for years because the “last updated” date is cosmetic. Verify against cp-algorithms, CPH or Erickson before you trust a claim you intend to repeat.
  • Company-prep data is crowdsourced or paywalled. LeetCode’s company tags are Premium; Blind, GFG and Code360 lists are anecdotes with dates. There is no authoritative free source, and anyone who says otherwise is selling something.
  • Dead links in this field are epidemic, and they are load-bearing. A2OJ (the ladders), the ICPC Live Archive, cftracker.net, algorithms.wtf, kt.cs.princeton.edu, datastructur.es, web.evanchen.us and code-drills.com all died or stopped resolving, and every one of them is still linked from popular roadmaps. www.topcoder.com returned 404 to automated checks at verification time. If a guide you are following predates 2024, re-verify its links before trusting its plan.
  • Mirror your dependencies. Both Ashishgup1/Competitive-Programming and edsomjr/Competitive-Programming 404’d — years of “start from this template” advice now points at nothing. Fork anything you build on.
  • OI Wiki’s English version is gone; oi-wiki.org/en/ 404s and only the Chinese site remains.
  • USACO’s legacy training pages are mid-migration. They still work, but new usaco.org accounts are not recognised there — you may need a separate legacy account. Prefer USACO Guide as primary.
  • e-maxx was renamed, not deleted. The English mirror e-maxx-eng.github.io is a dead end; the project is cp-algorithms.com and github.com/cp-algorithms/cp-algorithms.
  • LeetCode URL shapes drift between redesigns (/problemset/, /explore/, /studyplan/…), and leetcode.com 403s automated clients. Bot-blocked does not mean broken.
  • Coursera “free” means “audit access varies”. Enrollment pages are not content; check what is actually unlocked before planning around a course.
  • GitHub 504s during verification were rate-limiting, not deletions — ossu/computer-science, vhf/free-programming-books, jeffgerickson/algorithms, boostorg/sort, cmuparlay/pbbsbench and Abhinav-Kumar012/dsa_book_2 all resolved on retry.
  • YouTube handles are not authoritative. @AtCoder is a Vietnamese coder’s channel and @nick_white resolves to a different channel entirely — both 200 OK, both wrong. Check the channel name before linking, and prefer legacy /channel/UC… URLs when a handle 404s (as with William Fiset).
  • No big platform runs an official YouTube channel. youtube.com/@leetcode, /@hackerrank and /@codechef all 404, as do the legacy /user/ and /c/ forms; @icpc resolves to an unrelated channel named “ic Pc” and @ICPCNews is a news feed, not the organisation. Treat every “official” contest channel as suspect until you check the channel name.
  • Bot-blocked sources kept on purpose: LeetCode, AoPS community, Reddit, Blind, InterviewQuery, SPOJ, en.cppreference.com, dl.acm.org, epubs.siam.org and ScienceDirect all return 403 or 429 to automated clients while loading normally in a browser.

  • DSA — the explanatory chapters this index points out from
  • Competitive Programming — contest strategy, per-judge guides and workflow
  • Competitive Math — the olympiad-math chapters, including the IMO guide
  • CS Theory — complexity classes, computability, randomized algorithms and approximation as concepts
  • Mathematics — discrete math, linear algebra, probability, number theory
  • Reference Libraries index — the other topic indexes