MR Logo MR CodeBlocks
Login
now judging 40,000+ submissions / day

Write code.
Get judged instantly.
Actually improve.

MR CodeBlocks is a practice ground for real interview and contest problems — structured tracks, an instant judge in 12 languages, and mock tests that feel like the real thing.

100 problems 4 tracks 12 languages judged
max_subarray.py
1# find the maximum sum of a contiguous subarray
2def max_subarray(nums):
3    best = cur = nums[0]
4    for n in nums[1:]:
5        cur = max(n, cur + n)
3 / 3 test cases
Accepted
$ mrcodeblocks --stats · 100 problems · 4 tracks · 340 mock tests run this week · avg. judge time 0.6s · 12 languages

// popular right now

Pick a track, start solving

Browse all 4 tracks →
🧱

Arrays & Strings Foundations

Build core comfort with arrays and strings — from basic traversal to hashing and two-pointer techniques.

12 problems 0% done
🔢

Math & Number Theory Warmup

Strengthen fundamental math-based problem solving — often the easiest wins in coding interviews if practiced well.

7 problems 0% done
🌀

Recursion & Dynamic Programming Intro

Move from simple recursion to recognizing overlapping subproblems — the foundation of dynamic programming.

4 problems 0% done
📚

Stacks, Searching & Structures

Explore how choosing the right data structure — a stack, a sorted array, or a grid — makes problems dramatically simpler.

7 problems 0% done

// the loop

Three steps, on repeat

01

Pick a track

Choose a structured path or jump straight to a topic you want to sharpen.

02

Write & run code

A full Monaco editor, 12 languages, sample tests you can run before you submit.

03

Get judged instantly

Pass/fail per test case, runtime, memory — no waiting, no guessing.

// built for practice that counts

Everything you'd expect from a contest platform — nothing you don't

Instant judge

Submissions run against real test cases and return verdicts in under a second, on average.

Mock tests

Timed sections and lockdown mode for tests that mirror the real thing.

Badges & streaks

Earn badges as you clear milestones — a small nudge to keep the streak alive.

12 languages

Python, C++, Java, Go, Rust, TypeScript and more — solve in whatever you're learning.

// your move

Your next submission is one click away

No credit card, no setup — open a problem and start writing code.

Browse tracks →