Best Coding Practice Websites: Where to Practice Programming in 2027 (Interview, Competitive, Projects, Katas)
The best websites to practice coding, sorted by what you are practicing for: coding interviews (LeetCode, NeetCode, HackerRank), competitive programming (Codeforces, AtCoder, CSES, Kattis), small daily katas (Exercism, Codewars, Edabit), puzzles (Advent of Code, Project Euler), SQL, frontend, security CTFs, machine learning and build-your-own-X projects. If you searched for “coding practice websites”, “where to practice programming for free” or “LeetCode alternatives”, this guide compares them honestly, marks what is free and what is paid, and gives you practice plans with time estimates.
Last reviewed: December 2026. Every link was opened when reviewed. Paid tiers and prices change often, so this guide says “paid” rather than quoting prices.
Table of Contents
- Quick Picks
- How to Choose a Practice Site
- Coding Interview Practice
- Curated Problem Lists
- Competitive Programming
- Katas and Language Practice
- Puzzles and Seasonal Challenges
- SQL and Data Practice
- Frontend and CSS Practice
- Build-Your-Own and Project Practice
- Security, CTFs and Wargames
- Command Line, Git and DevOps Practice
- Machine Learning Practice
- Mock Interviews
- Gamified Practice
- Big Comparison Table
- Practice Plans With Time Estimates
- How to Practice Effectively
- FAQ
- Where to Go Next
- Contributing
- More free resources
Quick Picks
| You want to… | Best pick | Runner-up | Why |
|---|---|---|---|
| Pass coding interviews | LeetCode | NeetCode | Largest interview problem set; NeetCode organizes it by pattern with free video explanations |
| Learn a new language through practice | Exercism | Codewars | Free, 70+ language tracks, optional human mentoring |
| Get good at competitive programming | Codeforces | AtCoder | Frequent rated contests, huge archive, editorials |
| Learn classic algorithms systematically | CSES Problem Set | USACO Guide | Carefully ordered problems with a free companion book |
| Fun yearly puzzles | Advent of Code | Everybody Codes | Story-driven puzzles, any language |
| Math plus programming | Project Euler | Rosalind | Hundreds of math-heavy problems; Rosalind for bioinformatics |
| SQL interview practice | LeetCode Top SQL 50 | DataLemur | Realistic interview-style queries |
| Frontend practice with real designs | Frontend Mentor | BFE.dev | Real design files; BFE.dev for JS interview questions |
| Build real systems | CodeCrafters | Coding Challenges | Build Redis, Git, SQLite clones with tests (CodeCrafters is mostly paid; Coding Challenges is free) |
| Security skills | picoCTF | OverTheWire | Free, beginner-friendly, hands-on |
| Free mock interviews | Pramp | interviewing.io | Pramp says its peer sessions are still free (now hosted on Aced Practice); interviewing.io is mainly paid |
How to Choose a Practice Site
Ask three questions:
- What am I practicing for? Interviews reward pattern recognition on medium problems. Competitive programming rewards speed and deep algorithm knowledge. Daily work rewards fluency, reading code and building things. Pick sites that match the goal.
- Do I get feedback? Good sites give automatic tests, editorials, community solutions or mentor reviews. Practice without feedback builds bad habits.
- Will I come back tomorrow? The best site is the one you will use 30 minutes a day for three months. Streaks, contests and friends help.
| Goal | Practice type | Sites |
|---|---|---|
| Job interviews | Pattern-based DSA problems | LeetCode, NeetCode, HackerRank |
| Competitive programming | Timed contests, hard algorithms | Codeforces, AtCoder, CodeChef, Kattis |
| Language fluency | Small katas, idiomatic code | Exercism, Codewars, Edabit |
| Fun and consistency | Puzzles | Advent of Code, Project Euler |
| Real-world skills | Projects with test suites | CodeCrafters, Coding Challenges, Frontend Mentor |
| Data jobs | SQL and analytics questions | DataLemur, StrataScratch, SQLBolt |
Coding Interview Practice
| Site | Free? | Languages | Best for | Notes |
|---|---|---|---|---|
| LeetCode | Freemium | 15+ | Interview prep | Thousands of problems, weekly contests, study plans like LeetCode 75 and Top Interview 150. Premium (paid) unlocks company tags and some problems |
| NeetCode | Freemium | Many | Pattern-based study | Free NeetCode 150 practice list and roadmap with video solutions; paid courses |
| HackerRank | Free for learners | Many | Online assessments, basics | Many companies use HackerRank for take-home tests, so practicing here makes the format familiar. See the Interview Preparation Kit |
| Codility | Free lessons | Many | Codility-format assessments | Free lessons and challenges in the same environment companies use |
| CodeSignal | Freemium | Many | General Coding Assessment prep | Used by some employers for scored assessments |
| HackerEarth | Free | Many | Practice + hiring challenges | Tutorials and practice problems by topic |
| LintCode | Freemium | Several | LeetCode alternative | Similar problem style |
| GeeksforGeeks practice | Freemium | Several | Topic-wise problems | Large article library; quality varies |
| InterviewBit | Free | Several | Structured interview path | Gamified, topic-by-topic |
| AlgoExpert | Paid | Several | Curated video explanations | Smaller curated set |
Best pick: LeetCode for the problems, plus NeetCode’s free list and videos for structure. You do not need Premium to get interview-ready.
Curated Problem Lists
Do not solve random problems. Use a list that covers the patterns.
| List | Size | Best for |
|---|---|---|
| Grind 75 | 75 to 169 (adjustable schedule) | A time-boxed plan; it generates a weekly schedule from the hours you have |
| NeetCode 150 | 150 | Pattern coverage with videos |
| LeetCode 75 | 75 | Official short plan |
| Top Interview 150 | 150 | Official broader plan |
| LeetCode Patterns | ~180 | Filter by pattern and company |
| Striver’s A2Z DSA Sheet | 400+ | Very thorough, beginner to advanced |
| Coding Interview University | Full study plan | Learning the theory behind problems |
| Tech Interview Handbook | Guide | The whole process, not just problems |
Competitive Programming
| Site | Contests | Difficulty | Notes |
|---|---|---|---|
| Codeforces | Several per week, rated | Beginner (Div. 4) to world-class (Div. 1) | The center of the CP world; editorials after each round |
| AtCoder | Weekly (ABC), ARC, AGC | Clean, well-tested problems | ABC is the best weekly contest for beginners. Use AtCoder Problems to track progress |
| CodeChef | Weekly Starters | Beginner to advanced | Popular in India; practice by topic |
| CSES Problem Set | No contests | Classic algorithms | 300+ ordered problems; companion Competitive Programmer’s Handbook is free |
| USACO Guide | Links to USACO contests | Bronze to Platinum | Free, structured guide originally for USA olympiad students, useful for everyone |
| Kattis | Hosts many contests | Wide range | ICPC-style; huge problem archive |
| SPOJ | Archive | Wide range | Old but large classic archive |
| DMOJ | Regular contests | Wide range | Modern online judge |
| UVa Online Judge | Archive | Classic | Historic problem archive |
| Timus | Archive | Hard | Classic ICPC-style problems |
| CP-Algorithms | Reference | All | Not a judge: the best free reference for algorithms used in contests |
| CLIST | Calendar | All | Aggregates upcoming contests across sites |
| ICPC | University team contest | Hard | The main collegiate programming contest |
Best pick: AtCoder Beginner Contests for your first months (clean problems, good editorials), then Codeforces once you can solve ABC A to D regularly. Use CSES to fill algorithm gaps.
Katas and Language Practice
| Site | Free? | Languages | Feedback | Notes |
|---|---|---|---|---|
| Exercism | Free | 70+ tracks | Tests + optional human mentors | Best for learning idiomatic code in a new language |
| Codewars | Free (paid extras) | 50+ | Tests + community solutions | Ranked “kyu” katas; reading others’ solutions is the real lesson |
| Edabit | Freemium | 8 | Tests + hints | 10,000+ small challenges; very beginner-friendly |
| CheckiO | Freemium | Python, TypeScript | Tests | Game-like map of missions |
| Practice Python | Free | Python | Solutions posted | Simple beginner exercises |
| CodeAbbey | Free | Any | Answer checking | Beginner problems, any language |
| Rustlings | Free | Rust | Compiler + tests | Official small exercises for Rust learners |
| Ziglings | Free | Zig | Compiler | Fix broken programs to learn Zig |
| Python Koans | Free | Python | Tests | Make failing tests pass |
| Type Challenges | Free | TypeScript | Type tests | Type-level puzzles, easy to extreme |
| TypeScript Exercises | Free | TypeScript | In-browser | Gentle typing practice |
| JavaScript30 | Free | JavaScript | Video + code | 30 small vanilla JS projects |
| JSchallenger | Free | JavaScript | Tests | Short JS exercises |
| Python Mastery | Free | Python | Exercises | Advanced Python course material released for free |
| 4Clojure (community revival) | Free | Clojure | Tests | Classic Clojure problems |
Best pick: Exercism. It is free, has real mentors, and its exercises push you toward idiomatic code instead of clever one-liners.
Puzzles and Seasonal Challenges
| Site | When | Notes |
|---|---|---|
| Advent of Code | December | Two-part puzzles with a story. In 2025 the author shortened the event (puzzles end mid-December) and removed the global leaderboard; private leaderboards remain. The about page also asks you not to use AI to solve puzzles. Past years stay available |
| Everybody Codes | Autumn event + stories | Advent-of-Code-style puzzles in November |
| Project Euler | Anytime | 900+ math and programming problems; publishing solutions to later problems is discouraged |
| Rosalind | Anytime | Bioinformatics problems |
| Project Lovelace | Anytime | Science-flavored programming problems |
| Code Golf | Anytime | Shortest solution wins, many languages |
| Regex Crossword | Anytime | Crosswords solved with regular expressions |
| AdventJS | December | Spanish-language JavaScript advent challenges |
| r/adventofcode | December | Community for hints and solution threads |
SQL and Data Practice
| Site | Free? | Best for |
|---|---|---|
| SQLBolt | Free | Absolute beginners; interactive lessons |
| SQLZoo | Free | Classic tutorial with many exercises |
| SQL Murder Mystery | Free | A fun single puzzle to practice joins |
| PostgreSQL Exercises | Free | PostgreSQL-specific queries, aggregates, recursion |
| SQL Practice | Free | Hospital dataset, easy to hard |
| LeetCode Top SQL 50 | Free (some premium problems) | Interview-style SQL |
| DataLemur | Freemium | SQL questions styled after data-science interviews |
| StrataScratch | Freemium | SQL and Python data interview questions |
| SQL Habit | Freemium | Product-analytics SQL course |
Best path: SQLBolt (one weekend) -> SQL Murder Mystery -> PostgreSQL Exercises -> LeetCode Top SQL 50 -> DataLemur.
Frontend and CSS Practice
| Site | Free? | What you practice |
|---|---|---|
| Frontend Mentor | Freemium | Building real designs; free challenges include Figma-like design images, premium adds design files |
| BFE.dev (BigFrontEnd) | Free | JavaScript and TypeScript frontend interview questions (implement debounce, Promise.all, etc.) |
| GreatFrontEnd | Freemium | Frontend interview questions, UI coding and system design |
| Frontend Practice | Free | Rebuild real websites |
| CSSBattle | Free | Recreate targets with the shortest CSS |
| Flexbox Froggy | Free | Learn flexbox as a game |
| Grid Garden | Free | Learn CSS grid as a game |
| JavaScript30 | Free | 30 vanilla JS projects |
Build-Your-Own and Project Practice
Problem sites train algorithms. These train the skills used on the job: reading specs, designing, debugging larger programs.
| Site | Free? | Notes |
|---|---|---|
| CodeCrafters | Mostly paid (some free challenges) | Build Redis, Git, SQLite, HTTP server, DNS server and more, with automated test stages. Catalog |
| Coding Challenges | Free | Weekly specs to build real tools: wc, JSON parser, compression, load balancer and more |
| Build Your Own X | Free | Huge list of tutorials to rebuild technologies from scratch |
| Hackattic | Free | Realistic problems (parsing binary, solving tasks via APIs) |
| Cryptopals | Free | Break real cryptography in 8 sets |
| App Ideas | Free | Project ideas by tier |
| Project ideas (karan/Projects) | Free | Classic list of project ideas |
| roadmap.sh projects | Free | Project specs grouped by role and difficulty |
| System Design Primer | Free | Practice designing systems with worked examples |
| Hello Interview | Freemium | System design interview practice and guides |
Security, CTFs and Wargames
| Site | Free? | Level | Notes |
|---|---|---|---|
| picoCTF | Free | Beginner | From Carnegie Mellon; year-round practice gym plus an annual competition |
| OverTheWire | Free | Beginner+ | Start with Bandit to learn Linux through SSH puzzles |
| pwn.college | Free | Beginner to advanced | Arizona State University’s hands-on dojo |
| TryHackMe | Freemium | Beginner | Guided rooms in a browser |
| Hack The Box | Freemium | Intermediate+ | Realistic machines and an academy |
| Cryptopals | Free | Intermediate | Crypto attacks |
Command Line, Git and DevOps Practice
| Site | What you practice |
|---|---|
| Learn Git Branching | Git branching, rebasing, remotes, visually |
| Oh My Git! | Open source Git learning game |
| cmdchallenge | One-line shell tasks |
| SadServers | Fix broken Linux servers (like LeetCode for SRE) |
| Killercoda | Free interactive Linux and Kubernetes scenarios in the browser |
| VimGolf | Fewest Vim keystrokes |
| Vim Adventures | Learn Vim as a game (first levels free) |
| RegexOne | Interactive regex lessons |
Machine Learning Practice
| Site | Free? | Notes |
|---|---|---|
| Kaggle Competitions | Free | Real datasets, public notebooks, playground and featured competitions |
| Deep-ML | Freemium | Implement ML and linear algebra from scratch, LeetCode-style |
| DrivenData | Free | Social-impact data competitions |
| AIcrowd | Free | Research-flavored challenges |
| ML Contests | Free | Directory of current ML competitions |
Mock Interviews
| Site | Free? | Notes |
|---|---|---|
| Pramp | Free | Peer-to-peer mock interviews; as of July 2024 sessions run on Aced Practice, which the site says is still free |
| interviewing.io | Mostly paid | Anonymous mocks with engineers from large tech companies |
| Friends + a shared editor | Free | Take turns as interviewer using any LeetCode problem; honestly one of the best options |
Gamified Practice
| Site | Notes |
|---|---|
| CodinGame | Puzzles and bot programming arenas; write AIs that compete |
| Codedex | Beginner courses styled as a game |
| CheckiO | Game map of Python missions |
| Edabit | XP and levels for small challenges |
Big Comparison Table
| Site | Category | Free level | Difficulty | Languages | Contests | Best feature |
|---|---|---|---|---|---|---|
| LeetCode | Interview | Most problems free | Easy-Hard | 15+ | Weekly | Interview coverage |
| NeetCode | Interview | List + videos free | Easy-Hard | Many | No | Pattern roadmap |
| HackerRank | Interview / basics | Free | Easy-Medium | Many | Yes | Assessment format |
| Codeforces | CP | Free | Easy-Extreme | Many | Several weekly | Rated rounds |
| AtCoder | CP | Free | Easy-Extreme | Many | Weekly | Problem quality |
| CSES | Algorithms | Free | Medium-Hard | C++, Python, Java and more | No | Ordered curriculum |
| Kattis | CP | Free | Easy-Hard | Many | Hosted | ICPC archive |
| Exercism | Katas | Free | Easy-Medium | 70+ | No | Human mentoring |
| Codewars | Katas | Free | Easy-Hard | 50+ | No | Community solutions |
| Advent of Code | Puzzles | Free | Easy-Hard | Any | December | Fun, story |
| Project Euler | Math puzzles | Free | Medium-Extreme | Any | No | Math depth |
| SQLBolt | SQL | Free | Easy | SQL | No | Gentle start |
| DataLemur | SQL | Freemium | Easy-Hard | SQL, Python | No | Interview realism |
| Frontend Mentor | Frontend | Freemium | Easy-Hard | HTML/CSS/JS | No | Real designs |
| CodeCrafters | Projects | Mostly paid | Medium-Hard | 20+ | No | Build real systems |
| Coding Challenges | Projects | Free | Medium-Hard | Any | No | Real tool specs |
| picoCTF | Security | Free | Easy-Medium | Any | Yearly | Beginner security |
Practice Plans With Time Estimates
These are our own suggested schedules, not official programs.
Plan 1: Interview-ready in 12 weeks (about 8-10 hours per week)
| Weeks | Focus | Where |
|---|---|---|
| 1-2 | Arrays, hashing, two pointers, sliding window | NeetCode 150 first sections on LeetCode |
| 3-4 | Stacks, binary search, linked lists | NeetCode 150 |
| 5-6 | Trees, tries, heaps | NeetCode 150 + LeetCode 75 |
| 7-8 | Backtracking, graphs, union-find | NeetCode 150 + CSES graph section |
| 9-10 | Dynamic programming (1D, 2D), greedy, intervals | NeetCode 150 |
| 11 | Mixed timed sets (2 problems in 45 minutes) | LeetCode weekly contest |
| 12 | Mock interviews, revisit mistakes | Pramp or a friend |
Plan 2: Competitive programming, first 6 months
- Month 1: AtCoder ABC A-C problems from the archive, one virtual contest per week.
- Months 2-3: CSES introductory, sorting/searching and dynamic programming sections; read the free CSES handbook alongside.
- Months 4-6: Codeforces Div. 3/4 live, upsolve every problem you missed, keep a mistakes log.
Plan 3: Learn a new language in 30 days
- Days 1-3: Official tutorial (for example the Rust book or A Tour of Go).
- Days 4-20: One Exercism exercise per day, request mentoring on 3 of them.
- Days 21-30: Build one Coding Challenges project in the new language.
Plan 4: SQL for data interviews in 4 weeks
- Week 1: SQLBolt + SQL Murder Mystery.
- Week 2: PostgreSQL Exercises (joins, aggregates, recursive).
- Week 3: LeetCode Top SQL 50.
- Week 4: DataLemur or StrataScratch medium/hard, timed.
Plan 5: Frontend portfolio in 8 weeks
- Weeks 1-2: Flexbox Froggy, Grid Garden, 3 Frontend Mentor newbie challenges.
- Weeks 3-5: JavaScript30 plus 2 junior/intermediate Frontend Mentor challenges.
- Weeks 6-8: BFE.dev questions + one larger app you design yourself.
How to Practice Effectively
- Time-box the struggle. 25-40 minutes on a problem, then read a hint or editorial, then re-solve it yourself the next day without looking.
- Learn patterns, not answers. After each problem, write one line: “This is a sliding window because…”. That line is what transfers to new problems.
- Upsolve. In contests, the problems you could not solve are the ones worth your time afterward.
- Spaced repetition. Re-solve problems after 3 days, 1 week and 1 month. A simple spreadsheet works.
- Read other solutions. On Codewars and Exercism, comparing solutions teaches idioms faster than anything.
- Practice talking. In interviews you must explain while you code. Practice out loud.
- Mix in projects. Pure puzzle-solving makes you good at puzzles. Projects make you good at software.
- Use AI carefully. Ask for hints, not solutions, and turn off autocomplete while practicing; it removes the thinking you are trying to train.
FAQ
What is the best website to practice coding for free?
For interviews, LeetCode’s free problems with NeetCode’s free roadmap. For learning languages, Exercism. For algorithms, CSES. All three are free for everything you need.
Is LeetCode Premium worth it?
Usually not required. The free problems and curated lists like NeetCode 150 and Grind 75 cover the patterns. Premium mostly helps if you want company-tagged questions close to a specific interview.
What are the best LeetCode alternatives?
HackerRank (assessment format), NeetCode (structured), Codeforces and AtCoder (contests), CSES (algorithms), Exercism and Codewars (language practice).
How many LeetCode problems should I solve before interviews?
There is no magic number. Most people feel ready after 150-300 well-understood problems covering all major patterns, with re-solves. Depth beats count.
Which site is best for beginners?
Edabit, Exercism and CodingBat-style katas for language basics; AtCoder Beginner Contests or CSES introductory problems for first algorithms.
Codeforces or AtCoder?
AtCoder for beginners (cleaner statements, consistent difficulty), Codeforces for volume and community. Most competitive programmers use both.
Where can I practice SQL?
SQLBolt and SQLZoo to learn, PostgreSQL Exercises to deepen, LeetCode Top SQL 50 and DataLemur for interview prep.
Where can I practice real-world projects, not puzzles?
Coding Challenges (free), CodeCrafters (mostly paid), Frontend Mentor, and the Build Your Own X list.
Can I use AI to solve practice problems?
You can, but it defeats the purpose. Some events (Advent of Code, contest rules on Codeforces and AtCoder) restrict AI use. Use AI to explain a solution after you have tried.
How long until I get good at competitive programming?
Expect months of steady practice to move between rating tiers. Consistency (a few contests a week, upsolving) matters more than raw hours.
Where to Go Next
- Learn the theory behind problems with free courses (see the companion “free coding courses” guide in the Ralpberry Labs collection).
- Read CP-Algorithms when a problem needs an algorithm you do not know.
- Contribute to open source to practice reading large codebases.
- Join a contest community: Codeforces blogs, AtCoder’s English editorials, r/adventofcode.
Contributing
PRs welcome. Please keep entries accurate:
- Check that the site is live and say what is free vs paid.
- One line on why it is useful and who it is for.
- No affiliate links, no referral codes, no leaked or paid content.
If this helped you, a star helps others find it.
Content licensed under CC BY 4.0. Site names belong to their owners; this is an independent guide not affiliated with any site listed.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.