Coding Challenges List: Famous Programming Challenges and Build-Your-Own-X Projects
A curated list of the best coding challenges for programmers: puzzle events, algorithm practice sites, “build your own X” projects, systems and security challenges, with difficulty, time and cost for each.
Last reviewed: December 2026
This coding challenges list collects the programming challenges developers actually talk about (Advent of Code, Project Euler, Cryptopals, Nand2Tetris, the One Billion Row Challenge) and the best build-your-own-X projects (your own shell, Redis, Git, interpreter, database). Each entry says what you will learn, how hard it is, roughly how long it takes, and whether it is free. Use it to level up from “I know the syntax” to “I can build real software”.
Table of Contents
- How to Pick a Challenge
- Quick Picks
- Seasonal and Event Challenges
- Puzzle and Math Challenge Sites
- Algorithm and Interview Practice
- Competitive Programming
- Language Learning Through Exercises
- Build-Your-Own-X Projects
- The Coding Challenges Catalog by Theme
- Systems, Networking and Distributed Systems
- Performance Challenges
- Security and CTF Challenges
- Computer Science From First Principles
- Graphics and Game Challenges
- Data, ML and AI Challenges
- Self-Made Challenges
- Suggested Paths
- How to Get the Most From a Challenge
- FAQ
- Where to Go Next
- Contributing
How to Pick a Challenge
| If you want to… | Choose | Example |
|---|---|---|
| Have fun and stay consistent | Seasonal puzzle events | Advent of Code |
| Get better at math-flavoured problem solving | Puzzle sites | Project Euler |
| Pass coding interviews | Algorithm practice | LeetCode, NeetCode lists |
| Compete and climb a rating | Competitive programming | Codeforces, AtCoder |
| Learn a new language idiomatically | Mentored exercises | Exercism |
| Understand how tools work | Build-your-own-X | Your own shell, Redis, Git |
| Learn distributed systems | Simulated cluster challenges | Gossip Glomers |
| Learn security | CTFs and wargames | OverTheWire, picoCTF, Cryptopals |
| Learn how computers work end to end | First-principles courses | Nand2Tetris |
Difficulty scale used below: 1 = beginner friendly, 5 = expert. Time is a rough estimate for a motivated learner.
Quick Picks
| Best for | Pick | Why |
|---|---|---|
| Overall best free challenge for any developer | Advent of Code | Fun stories, gentle start, steep end, huge community, any language |
| Best build-your-own-X starting point | Coding Challenges: wc | Small, complete, teaches CLI design and testing |
| Best for systems depth | Crafting Interpreters | A complete language implementation, free online |
| Best for distributed systems | Gossip Glomers | Real consistency problems with a fault-injecting checker |
| Best for security | Cryptopals | Break real crypto by implementing the attacks |
| Best for interviews | NeetCode 150 | Curated pattern coverage |
| Best “how computers work” | Nand2Tetris | From logic gates to a working computer and OS |
Seasonal and Event Challenges
| Challenge | What it is | Difficulty | When | Cost |
|---|---|---|---|---|
| Advent of Code | Daily two-part puzzles in December, story-driven, any language | 1-5 (ramps up) | December 1-12 (12 puzzles since 2025; 25 before) | Free |
| Everybody Codes | Story-based puzzle event in a similar spirit, with three-part quests | 2-5 | Autumn event plus stories | Free |
| Hanukkah of Data | Data-analysis puzzles solved by querying a dataset | 2-3 | Seasonal (past editions playable) | Free |
| Ludum Dare | Make a game from scratch in 48 or 72 hours around a theme | 2-4 | Several times a year | Free |
| Global Game Jam | Worldwide game jam, in person and online | 2-4 | Annually, usually January/February | Free |
| Genuary | A generative-art prompt every day of January | 1-4 | January | Free |
| Hacktoberfest | Contribute pull requests to open source in October | 1-3 | October | Free |
Advent of Code notes. Since 2025 the event has 12 puzzles, no global leaderboard (private leaderboards remain), and the About page asks people not to use AI to solve the puzzles. All past years (2015 onward) stay playable, which makes them a great year-round puzzle bank. Many people use a different language each year.
Tips for Advent of Code:
- Write a tiny input-parsing helper on day 1 and reuse it.
- Solve part one simply; part two usually punishes brute force, which is the lesson.
- Learn the recurring tools: BFS/DFS, Dijkstra, dynamic programming, memoization, interval merging, cycle detection, modular arithmetic.
- After solving, read other solutions on the community forum; that is where most of the learning happens.
Puzzle and Math Challenge Sites
| Site | Focus | Difficulty | Cost | Notes |
|---|---|---|---|---|
| Project Euler | Math + programming problems (over 1,000) | 2-5 | Free | Classic; early problems are approachable, later ones are research-level |
| Rosalind | Bioinformatics problems | 2-4 | Free | Learn algorithms through biology |
| Codewars | Community “kata” ranked by difficulty | 1-4 | Free + paid | Good for language fluency |
| CodinGame | Puzzles and bot-programming games | 1-5 | Free | Visual feedback, AI bot contests |
| Brilliant | Interactive math, logic and CS | 1-3 | Paid (free trial) | Concept building rather than coding |
| Kattis | Large archive of contest problems | 2-5 | Free | Used by many universities |
| Programming Praxis | Classic exercises with discussion | 2-4 | Free | Older archive, still useful |
Project Euler tip: do not post solutions to problems beyond the first hundred publicly; the site asks solvers not to, so that others can enjoy them.
Algorithm and Interview Practice
| Site | What it offers | Cost | Best for |
|---|---|---|---|
| LeetCode | Thousands of problems, contests, company tags | Free + Premium (paid) | Interview prep |
| NeetCode | Curated 150/250 lists with video explanations | Free lists + paid course | Pattern-first study |
| Tech Interview Handbook: Grind 75 | Customizable weekly study plan | Free | Time-boxed prep |
| HackerRank | Practice tracks and skill certificates | Free | Basics, SQL, many companies’ screening tool |
| AlgoExpert | Curated problems with video walkthroughs | Paid | Guided learning |
| Exercism | Exercises + human mentoring | Free | Idiomatic code |
| CSES Problem Set | 300+ classic algorithm problems | Free | Building core algorithms knowledge |
Best pick: start with the free NeetCode 150 or Grind 75 list on LeetCode. Solve by pattern (two pointers, sliding window, BFS/DFS, binary search, heaps, dynamic programming, graphs) rather than at random.
Competitive Programming
| Platform | Contests | Notes |
|---|---|---|
| Codeforces | Several rated rounds per week | The largest community; editorials after each round |
| AtCoder | Weekly Beginner Contests (ABC), plus Regular and Grand contests | Very clean problems; ABC is ideal for beginners |
| CodeChef | Weekly Starters contests | Big community in India |
| USACO | Online contests for pre-university students, open to all | Bronze to Platinum divisions |
| USACO Guide | Free structured curriculum | Excellent for anyone, not only students |
| ICPC | University team contest | Regional and world finals |
| Kattis | Archive of ICPC-style problems | Practice for team contests |
Free books for competitive programming:
- Competitive Programmer’s Handbook by Antti Laaksonen (free PDF from the CSES site).
- CP-Algorithms (free, community-maintained algorithm reference).
Language Learning Through Exercises
| Resource | Languages | Cost | Notes |
|---|---|---|---|
| Exercism | 70+ language tracks | Free | Optional human mentoring |
| Rustlings | Rust | Free | Small fix-the-code exercises |
| Ziglings | Zig | Free | Same idea for Zig |
| Gophercises | Go | Free | Mini projects with videos |
| Exercism Python track | Python | Free | Concept-by-concept syllabus |
| 99 Haskell Problems | Haskell | Free | Classic functional exercises |
| SQLBolt | SQL | Free | Interactive lessons |
| Learn Git Branching | Git | Free | Visual, interactive |
| Regex Crossword | Regular expressions | Free | Puzzle form |
Build-Your-Own-X Projects
The single best way to understand a tool is to build a small version of it. These are the most valuable build-your-own projects, roughly in order of difficulty.
| Project | What you learn | Difficulty | Time | Free guide |
|---|---|---|---|---|
wc, cat, head, cut |
CLI parsing, streams, testing | 1 | Hours | Coding Challenges wc |
| JSON parser | Lexing, recursive descent parsing | 2 | 1-3 days | Coding Challenges JSON parser |
| Huffman compression tool | Trees, bit manipulation, file formats | 2 | 2-4 days | Coding Challenges compression |
| Shell | Processes, fork/exec, pipes, signals | 3 | 1-2 weeks | Coding Challenges shell |
| HTTP server | Sockets, HTTP parsing, concurrency | 3 | 1 week | Coding Challenges web server |
| Redis server | RESP protocol, event loops, persistence | 3 | 1-3 weeks | Coding Challenges Redis |
| DNS resolver | Binary protocols, UDP, recursion | 3 | 3-5 days | Coding Challenges DNS resolver |
| Load balancer | Health checks, proxying, algorithms | 3 | 1 week | Coding Challenges load balancer |
| Rate limiter | Token bucket, sliding window, distributed counters | 3 | 3-5 days | Coding Challenges rate limiter |
| Git | Content-addressable storage, objects, packfiles | 4 | 2-4 weeks | Coding Challenges Git, Write yourself a Git |
| Interpreter | Scanning, parsing, evaluation, closures, GC | 4 | 1-3 months | Crafting Interpreters |
| BitTorrent client | Bencoding, peer protocol, concurrency | 4 | 2-4 weeks | Coding Challenges BitTorrent |
| Docker-like container | Namespaces, cgroups, chroot | 4 | 1-2 weeks | Coding Challenges Docker |
| Text editor | Terminal raw mode, buffers, rendering | 3 | 1-2 weeks | Build Your Own Text Editor (kilo) |
| SQLite-like database | B-trees, pagers, SQL parsing | 5 | 1-3 months | Let’s Build a Simple Database |
| Operating system kernel | Boot, memory, interrupts, scheduling | 5 | Months | Writing an OS in Rust, OSDev Wiki |
| Compiler to assembly | Codegen, register allocation | 5 | Months | Writing a C Compiler (book, paid) |
| Ray tracer | Vector math, rendering | 3 | 1-2 weeks | Ray Tracing in One Weekend |
| Neural network library | Autodiff, backpropagation | 3 | 1 week | micrograd |
| Language model from scratch | Tokenization, transformers, training loops | 4 | 2-6 weeks | nanoGPT, CS336 materials |
Hubs for build-your-own projects
| Hub | What it is | Cost |
|---|---|---|
| Coding Challenges | 100+ written specs for real tools, each split into testable steps | Free (newsletter-based) |
| codecrafters-io/build-your-own-x | Huge index of third-party tutorials by technology | Free |
| CodeCrafters | Guided challenges (Redis, Git, SQLite, shell, Kafka, DNS, HTTP server, interpreter, BitTorrent and more) with automated tests run against your code | Paid membership; some challenges free for limited periods |
| practical-tutorials/project-based-learning | Tutorials grouped by language | Free |
The Coding Challenges Catalog by Theme
Coding Challenges publishes a new build-your-own spec regularly and had more than 100 at review time. Here is a themed selection so you can choose by what you want to learn.
Unix command-line tools (start here): wc · cut · sort · uniq · cat · head · grep · sed · diff · tr · xargs · xxd · tar · which · top
Parsers and interpreters: JSON parser · calculator · jq · YAML parser · Lisp interpreter · Forth interpreter · Brainfuck interpreter · language server (LSP)
Networking: web server · curl · DNS resolver · DNS forwarder · traceroute · NTP client · port scanner · netcat · forward proxy · SMTP server · IRC client
Servers and infrastructure: Redis · Memcached · load balancer · rate limiter · NATS message broker · Docker · Bitcask · URL shortener · uptime monitor · HTTP load tester
Algorithms and data structures in disguise: compression (Huffman) · Bloom-filter spell checker · spelling correction · QR code generator · duplicate file finder · password cracker · Sudoku
Games: Pong · Tetris · Snake · Space Invaders · Asteroids · Minesweeper · chess
AI-era projects: LLM-powered chatbot · MCP server for AI agents · ELIZA
Systems, Networking and Distributed Systems
| Challenge | What it is | Difficulty | Cost |
|---|---|---|---|
| Gossip Glomers | Six distributed-systems challenges (echo, unique IDs, broadcast, grow-only counter, Kafka-style log, transactions) run against the Maelstrom test harness, which injects network partitions | 3-5 | Free |
| Maelstrom | The workbench behind Gossip Glomers; has its own guided tutorial | 3-5 | Free |
| Protohackers | Network server problems: implement a server, the site tests it over the internet | 3-4 | Free |
| MIT 6.5840 Distributed Systems labs | MapReduce, Raft, a fault-tolerant sharded key-value store | 5 | Free (public course material) |
| PingCAP Talent Plan | Build a distributed key-value store in Rust or Go | 4 | Free |
| SadServers | Fix broken Linux servers in a live environment | 2-4 | Free + paid |
| Linux Upskill Challenge | A month of daily Linux sysadmin tasks | 1-2 | Free |
Best pick: Gossip Glomers. It is short, free, language-agnostic, and the checker finds bugs you would never find by hand.
Performance Challenges
| Challenge | What it is | Notes |
|---|---|---|
| One Billion Row Challenge (1BRC) | Aggregate min/mean/max temperatures from a 1-billion-line text file as fast as possible | Ran in January 2024 for Java; the repo has a “Show & Tell” with ports to many languages. A great exercise in I/O, parsing, SIMD and parallelism |
| Performance-Aware Programming (paid) | Course on how CPUs actually run code | Paid |
| Advent of Code under 1 second | Self-imposed: solve a whole year in under one second total | Popular community goal |
| Leetcode runtime optimization | Compare your runtime distribution | Use as a nudge, not a benchmark |
Security and CTF Challenges
Only practise attacks on systems built for it. Never test against systems you do not own or have permission to test.
| Challenge | Focus | Difficulty | Cost |
|---|---|---|---|
| OverTheWire wargames | Linux, then binary exploitation (start with Bandit) | 1-5 | Free |
| picoCTF | Beginner-friendly CTF by Carnegie Mellon, with a year-round practice gym | 1-3 | Free |
| Cryptopals | 8 sets of practical crypto attacks | 3-5 | Free |
| pwn.college | Structured cybersecurity curriculum from Arizona State University | 2-5 | Free |
| Hack The Box | Vulnerable machines and labs | 2-5 | Free + paid |
| TryHackMe | Guided rooms for beginners | 1-3 | Free + paid |
| PortSwigger Web Security Academy | Web vulnerabilities with labs | 2-4 | Free |
| CTFtime | Calendar of live CTF competitions | 2-5 | Free |
| microcorruption | Embedded exploitation on a simulated device | 3-5 | Free |
Best pick: OverTheWire Bandit for absolute beginners, then PortSwigger Web Security Academy if you build web apps.
Computer Science From First Principles
| Challenge | What you build | Time | Cost |
|---|---|---|---|
| Nand2Tetris | A computer from NAND gates up through an assembler, VM, compiler and OS | 2-6 months | Free (course videos on Coursera also free to audit) |
| Crafting Interpreters | Two interpreters for the Lox language (tree-walk in Java, bytecode VM in C) | 1-3 months | Free online, paid print |
| Build a Large Language Model (From Scratch) code repo | A GPT-style model in PyTorch, step by step | 1-2 months | Code free, book paid |
| The Elements of Computing Systems | The Nand2Tetris book | Same as course | Paid book |
| Operating Systems: Three Easy Pieces | Free OS textbook with projects | 2-3 months | Free |
| xv6 labs (MIT 6.1810) | Extend a small Unix teaching OS | 2-3 months | Free |
| Teach Yourself CS | A guide to self-studying the core CS subjects | Long term | Free guide |
Graphics and Game Challenges
| Challenge | What it is | Cost |
|---|---|---|
| Ray Tracing in One Weekend series | Write a ray tracer in three short free books | Free |
| LearnOpenGL | Modern OpenGL from a triangle to PBR | Free |
| The Book of Shaders | Fragment shader fundamentals | Free |
| Tiny Renderer | Write a software rasterizer in about 500 lines | Free |
| Ludum Dare / itch.io jams | Constant stream of game jams | Free |
| Pikuma courses | Graphics, game engines, raycasting | Paid |
| CHIP-8 emulator guide | The classic first emulator project | Free |
| Pan Docs | Reference for writing a Game Boy emulator | Free |
Best pick: CHIP-8 emulator. It is small (about 35 opcodes), visual, and teaches how CPUs fetch, decode and execute.
Data, ML and AI Challenges
| Challenge | What it is | Cost |
|---|---|---|
| Kaggle Competitions | ML competitions, including always-open “Getting Started” ones like Titanic | Free |
| Kaggle Learn | Short courses with exercises | Free |
| Zindi | Data science competitions focused on African challenges | Free |
| DrivenData | Competitions for social impact | Free |
| AIcrowd | Research-style competitions | Free |
| ARC Prize | Abstract reasoning benchmark for AI systems | Free to enter |
| micrograd / nanoGPT | Re-implement autograd and a GPT from scratch | Free |
| SQL Murder Mystery | Solve a crime with SQL queries | Free |
Self-Made Challenges
Some of the best challenges are ones you set yourself:
- One language per month: solve the same 10 problems in a new language each month.
- No-library month: build a web app without a framework.
- Rewrite a tool you use daily in a different language, then benchmark both.
- Read the source: pick an open-source tool, read one module, and write up how it works.
- 100 Days of Code: code at least an hour a day for 100 days and post a log (see 100daysofcode.com).
- Ship weekly: deploy something small every week for 12 weeks.
- Constraint challenges: solve an Advent of Code year in SQL, in a spreadsheet, or with no loops.
Suggested Paths
Path A: Beginner (8-12 weeks)
- Exercism track in your main language (4 weeks).
- Advent of Code 2015 or 2016, first 10 days (2 weeks).
- Coding Challenges: wc, cat, head, cut (2 weeks).
- Coding Challenges: JSON parser (1-2 weeks).
Path B: Interview-focused (8-10 weeks)
- NeetCode 150 or Grind 75, by pattern (6-8 weeks).
- Weekly AtCoder Beginner Contest or LeetCode contest (ongoing).
- One build-your-own project (URL shortener or rate limiter) to talk about in system design rounds.
Path C: Systems engineer (4-6 months)
- Shell, then HTTP server, then Redis (6-8 weeks).
- Gossip Glomers (2-4 weeks).
- Git or a database from scratch (4-8 weeks).
- MIT 6.5840 labs or the PingCAP Talent Plan (2-3 months).
Path D: Language and compiler nerd (3-6 months)
- Brainfuck interpreter (a weekend).
- Crafting Interpreters, both halves (2-3 months).
- A compiler to WebAssembly or assembly for your own tiny language.
Path E: Security (ongoing)
- OverTheWire Bandit.
- picoCTF practice gym.
- PortSwigger Web Security Academy.
- Cryptopals sets 1-4.
How to Get the Most From a Challenge
- Timebox the struggle. Stuck for more than an hour? Read one hint, not a full solution.
- Write tests first for build-your-own projects. Most Coding Challenges specs include sample input and expected output.
- Compare with the real tool. Run your
wcand the systemwcon the same files and diff the outputs. - Read others’ solutions after you finish. The learning is in the comparison.
- Write a short post-mortem in your repo README: what was hard, what you would change.
- Do not publish spoilers where the challenge asks you not to (Project Euler beyond problem 100, live contests, active CTFs).
- Use AI as a tutor, not a solver. Ask it to explain a concept or review your code after you have tried. Some events (like Advent of Code) ask you not to use AI for solving at all.
FAQ
What is the best coding challenge for beginners?
Advent of Code’s early days from older years, Exercism, or the Coding Challenges wc tool. All are free and give quick wins.
What are “build your own X” projects? Projects where you re-implement a real tool (a shell, Redis, Git, a database) in a simplified form, to learn how it works inside.
Is CodeCrafters free? CodeCrafters is a paid membership with a free tier; at times specific challenges are free for a limited period. The specs on Coding Challenges and the tutorial index in build-your-own-x are free.
Is Advent of Code still 25 days? No. Since 2025 it has 12 puzzles and no global leaderboard. Past years still have 25 puzzles each and remain playable.
Do coding challenges help you get a job? Algorithm practice helps you pass interviews. Build-your-own projects help you stand out and give you deep technical stories to tell. Do both.
Which language should I use? The one you want to get better at. Many people use Advent of Code or Coding Challenges to learn a new language such as Rust, Go or Zig.
How many LeetCode problems do I need? There is no magic number. Covering the main patterns with 100-200 well-understood problems usually beats grinding 500 without review.
Are CTFs legal? Yes, when you attack systems built for the competition. Never attack systems you do not have permission to test.
Where to Go Next
- Pick one challenge from Quick Picks and start today.
- Need project ideas instead of challenges? See the companion list app-ideas-2027.
- Want structured CS? Use Teach Yourself CS and the free OSTEP book.
Contributing
Pull requests are welcome. To add a challenge, include: name, link, what it teaches, difficulty (1-5), cost, and one honest sentence on who it is for. Only add challenges that are live and legitimately accessible. Keep descriptions in your own words.
If this helped you, a star helps others find it.
License
Content is licensed under CC BY 4.0.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.