DSA & Competitive Programming
Solve problems fast, ace interviews, win contests.
Data structures, algorithms and the practice platforms where you sharpen them.
91 resourcesSuggest a resource
Learning path
Work through these in order. Each step builds on the last.
Step 2: Learn the patterns
The handful of techniques behind most interview questions.
Everything in DSA & Competitive Programming
The Last Algorithms Course You'll Need
ThePrimeagen's free course on arrays, lists, trees, graphs, maps, searching and sorting.
frontendmasters.com
VisuAlgo
Watch data structures and algorithms run, step by step.
visualgo.net
NeetCode Roadmap
Interview problems grouped by pattern, with video solutions.
neetcode.io
LeetCode
The standard platform for interview-style coding problems.
leetcode.com
USACO Guide
A free, structured guide to competitive programming, from bronze to platinum.
usaco.guide
CodeChef
Beginner-friendly contests and a large Indian CP community.
codechef.com
CSES Problem Set
A classic collection of 300+ problems covering every core topic.
cses.fi
Competitive Programmer's Handbook
A free book by Antti Laaksonen covering the algorithms contests use.
cses.fi
Codeforces
Frequent rated contests and a huge problem archive.
codeforces.com
AtCoder
Weekly contests known for clean, educational problems.
atcoder.jp
CP-Algorithms
Detailed write-ups of advanced algorithms with implementations.
cp-algorithms.com
NeetCode 150
A curated list of 150 interview problems with free video explanations.
neetcode.io
NeetCode YouTube
Clear video walkthroughs of hundreds of LeetCode problems and patterns.
youtube.com
Striver's A2Z DSA Sheet
A step-by-step DSA sheet from basics to advanced, with articles and videos for every problem.
takeuforward.org
Striver's SDE Sheet
Striver's curated set of 180 must-do interview problems, grouped by pattern, for placement prep.
takeuforward.org
take U forward
Striver's channel with full playlists on graphs, DP, trees and placement prep.
youtube.com
Blind 75
The original curated list of 75 LeetCode problems that cover the key interview patterns.
teamblind.com
Grind 75
A customizable week-by-week study plan of essential interview problems.
techinterviewhandbook.org
Tech Interview Handbook
Free guide to coding interviews, algorithm cheatsheets and behavioural rounds.
techinterviewhandbook.org
LeetCode Patterns
LeetCode problems grouped by pattern so you learn techniques, not answers.
seanprashad.com
Grokking the Coding Interview: Patterns
The paid course that popularised learning interview problems by pattern.
designgurus.io
LeetCode Study Plans
Official guided problem sets like LeetCode 75 and Top Interview 150.
leetcode.com
Abdul Bari Algorithms
Famous whiteboard lectures on algorithm design and analysis, loved by Indian students.
youtube.com
William Fiset
Clear animated videos on graph theory and data structures with Java code.
youtube.com
Errichto Algorithms
A top competitive programmer explaining techniques and solving contests live.
youtube.com
Colin Galen
Advice and problem-solving videos on getting better at competitive programming.
youtube.com
CodeNCode
Long topic-wise playlists on CP topics from number theory to segment trees.
youtube.com
Aditya Verma DP Playlist
A hugely popular Hindi playlist that teaches dynamic programming by pattern.
youtube.com
Love Babbar DSA Sheet
A well-known 450-problem sheet for placement DSA practice.
geeksforgeeks.org
Back To Back SWE
Deep explanations of classic interview problems focusing on intuition.
youtube.com
MIT 6.006 Lectures (2011)
Erik Demaine and Srini Devadas' classic recorded algorithms lectures.
youtube.com
Algorithms Specialization (Stanford)
Tim Roughgarden's four-course series on divide and conquer, graphs, greedy and DP.
coursera.org
Algorithms, Part I (Princeton)
Sedgewick's free Coursera course on fundamental data structures and sorting in Java.
coursera.org
Algorithms, 4th Edition
The Sedgewick and Wayne textbook site with Java code, visualizations and exercises.
algs4.cs.princeton.edu
Introduction to Algorithms (CLRS)
The definitive algorithms reference textbook used in universities worldwide.
mitpress.mit.edu
The Algorithm Design Manual
Skiena's practical book on designing algorithms, with a catalogue of problems.
algorist.com
Algorithms by Dasgupta, Papadimitriou and Vazirani
A short, elegant algorithms textbook available as free chapter drafts.
people.eecs.berkeley.edu
Grokking Algorithms
An illustrated, beginner-friendly introduction to common algorithms.
manning.com
Guide to Competitive Programming
Antti Laaksonen's expanded book on algorithms for programming contests.
link.springer.com
Competitive Programming 4 (CP4)
Steven and Felix Halim's book of techniques for ICPC and IOI-style contests.
cpbook.net
Algorithms Live
Recorded lectures on contest algorithms by experienced competitive programmers.
youtube.com
Codeforces EDU
Free interactive courses on binary search, segment trees, DSU and more with practice.
codeforces.com
AtCoder Problems
Track your AtCoder progress and practise past problems by difficulty.
kenkoooo.com
AtCoder Library
AtCoder's official C++ library of contest data structures and algorithms.
github.com
KACTL
KTH's famous ICPC team notebook of compact, tested algorithm implementations.
github.com
CP Templates by bqi343
Benjamin Qi's widely used competitive programming notebook in C++.
github.com
HackerRank
Practice tracks for algorithms, data structures and languages, widely used in hiring.
hackerrank.com
HackerEarth
Topic-wise tutorials and practice problems plus hiring challenges.
hackerearth.com
SPOJ
A classic online judge with thousands of problems in many languages.
spoj.com
Kattis
An online judge used by ICPC with a large archive of contest problems.
open.kattis.com
Project Euler
Maths-heavy programming puzzles that reward clever algorithms.
projecteuler.net
Advent of Code
A yearly December puzzle calendar loved by programmers of every level.
adventofcode.com
GeeksforGeeks DSA
Articles and practice problems on every DSA topic, popular for placements.
geeksforgeeks.org
Programiz DSA
Beginner-friendly explanations of data structures and algorithms with code.
programiz.com
TopCoder
One of the oldest competitive programming platforms, with SRM contests.
topcoder.com
CodeChef Learn
CodeChef's guided DSA and language courses with built-in practice.
codechef.com
Codeforces Problemset
Filter thousands of past contest problems by rating and tag.
codeforces.com
Codeforces Catalog
Community-curated blogs and tutorials on CP topics, organised by subject.
codeforces.com
CLIST
A calendar of upcoming programming contests across every platform.
clist.by
Codeforces Visualizer (cfviz)
Charts of your Codeforces ratings, solved tags and problem difficulty.
cfviz.netlify.app
A2 Online Judge Ladders
Classic Codeforces problem ladders grouped by rating, for steady improvement.
a2oj.netlify.app
ICPC
The International Collegiate Programming Contest, the biggest team contest for students.
icpc.global
ICPC India
Information and preliminary rounds for ICPC regionals in India, hosted on CodeChef.
codechef.com
Google Code Jam Archive
An archive of past Google Code Jam and Kick Start problems and analyses.
zibada.guru
Data Structure Visualizations (USFCA)
Interactive animations of trees, heaps, hashing, graphs and sorting.
cs.usfca.edu
Python Tutor
Step through code and see memory, pointers and the call stack visually.
pythontutor.com
Graph Editor (CS Academy)
Draw and visualise graphs quickly, handy for debugging graph problems.
csacademy.com
Big-O Cheat Sheet
Time and space complexities of common data structures and sorting algorithms.
bigocheatsheet.com
The Algorithms
Open-source implementations of algorithms in Python, Java, C++ and many other languages.
github.com
Awesome Competitive Programming
A curated list of CP books, judges, courses and algorithm resources.
github.com
Awesome Algorithms
A curated list of places to learn and practise algorithms.
github.com
Interactive Coding Challenges
Interview problems as Python notebooks with tests and solutions.
github.com
Cracking the Coding Interview
Gayle McDowell's classic book of 189 interview questions and solutions.
crackingthecodinginterview.com
Elements of Programming Interviews
A tough, thorough interview problem book in Python, Java or C++.
elementsofprogramminginterviews.com
Exponent (Aced) Interview Prep
Mock interviews with engineers covering coding and system design rounds.
youtube.com
Pramp
Free peer-to-peer mock coding interviews.
pramp.com
Codeforces Blog Guide for Beginners
A popular Codeforces post on how to practise and improve as a beginner.
codeforces.com
Errichto's Competitive Programming Guide
Errichto's notes, links and lecture materials for learning CP.
github.com
Luogu
A huge Chinese online judge with problems from many Olympiads.
luogu.com.cn
DMOJ
A modern open-source online judge with problems from Canadian contests.
dmoj.ca
Leetcode Company-wise Questions
LeetCode problems grouped by the companies that ask them.
github.com
InterviewBit
A structured interview-prep track with timed problems, popular in India.
interviewbit.com
Coding Ninjas Studio
Practice problems, guided paths and contests aimed at Indian placement season.
naukri.com
Codewars
Solve community-made kata in many languages and see others' solutions.
codewars.com
OI Wiki
A comprehensive Chinese wiki on Olympiad and contest algorithms.
oi-wiki.org
Codeforces Gym
Practise past ICPC regionals and training contests in virtual mode.
codeforces.com
MIT 6.006 Dynamic Programming Lecture
Erik Demaine's famous intro lecture on dynamic programming.
youtube.com
Dynamic Programming – freeCodeCamp
A five-hour beginner course on memoization and tabulation in JavaScript.
youtube.com
Graph Algorithms – freeCodeCamp
William Fiset's full graph theory course covering BFS, DFS, shortest paths and flows.
youtube.com
Data Structures – freeCodeCamp
An eight-hour beginner course on arrays, lists, trees, heaps and hash tables.
youtube.com
Algorithms and Data Structures Tutorial (freeCodeCamp)
A five-hour Python course on searching, sorting, recursion and complexity.
youtube.com
Nothing here matches those filters.