Skip to content

Free coding practice

154 coding exercises and practice problems

Choose a language, topic and difficulty, then write and run real code in your browser. Start with a guided exercise that teaches one idea, or move to a graded problem with examples, additional checks and a complexity target.

57 introductory49 easy29 medium19 hard8 debugging labs13 languages · runs and checks in your browser

From your first line to interview-style problem solving

The 130 guided exercises are grouped into real language paths. Each opens with starter code, runs beside the explanation, checks the result and links to the next exercise, so you always know what to do after a successful run.

The 24 graded problems cover shapes that come up in technical interviews and, more usefully, the ones that teach you to reason about what your code costs. Each states its constraints and a complexity target up front, so you know what you are aiming for rather than guessing whether a working answer is a good one.

The debugging labs work the other way round: you are handed a program that runs but produces the wrong answer, plus the bug report. Most of a working developer's day looks more like that than like writing from a blank editor, and the same additional checks decide when you have actually fixed it.

They are a big step up from the beginner exercises. If a problem statement reads as a wall of words, that is a sign to do the exercises and the lessons first, then come back.

Find your next coding exercise

All 154 activities below are real, runnable pages. Filter the complete catalogue or let SkillAIVibe pick one from the current results.

Type
Difficulty

154 activities

Guided exercises

130 shown

Short, ordered tasks that teach one idea at a time and check your output as you run.

Graded problems

24 shown

Interview-style challenges with visible examples, additional checks and complexity targets.

Practise one language, start to finish

Each language with an exercise path also has a practice hub: its exercises, graded problems, lessons, cheat sheet and playground on one page.

Questions about the practice problems

What does 'hidden test cases' actually mean here?
Each problem is graded against tests you can see (the samples) and tests you cannot (the hidden ones), so a solution that only fits the samples fails. Because the site has no server, 'hidden' means not shown on the page and fetched only when you press Submit — a determined person can find them in the browser's network tab. They exist to make the feedback honest, not to stop cheating.
Which language can I solve the problems in?
Whichever the problem lists, and most are Python-only today. A handful of the debugging-lab problems also accept JavaScript, and each problem page shows a language picker above the editor when more than one is offered. The problem statements are language-independent, so you can always solve one in any language on your own computer even when in-page grading does not yet run it.
Are these the exact questions companies ask in interviews?
No, and no site can honestly claim that. These are classic problem shapes — pairs that sum to a target, balanced brackets, binary search — chosen because of what they teach about data structures and complexity, which is what interviews test.
How should a beginner start practicing coding problems?
Start with Easy problems in a language whose variables, loops and functions you already understand. Work on one topic at a time, write down the input and expected output before coding, and run the visible examples first. If the statement itself is confusing, return to the small language exercises before attempting more interview-style problems.
Do I need to study data structures and algorithms before solving problems?
You can begin with basic logic and arrays, then learn each data structure when a problem gives you a reason to need it. The problem pages link to plain-English concept guides, complexity targets and related terms, so practice and theory can grow together rather than becoming two separate courses.
Is the coding practice free and does it require an account?
It is free and does not require an account. Solutions run locally in your browser, and completed problems are recorded only in that browser. You can export the progress file yourself if you want a backup or need to move it to another device.

The ideas behind the problems

Every term a problem leans on — hash table, two pointers, time complexity — is defined in plain English with a small example in the programming glossary. Some problems accept more than one language: each problem page says which, and the picker sits above the editor. Anything you want to try outside a problem belongs in a playground.