Skip to main content
100% FREE · all 500 problems, 50 patterns, videos and tested solutions · no account, no card Start free →
FREE No account. No card. Everything is open.

Stop grinding lists.
Ride the map.

Every one of the 500 interview problems is a stop on one of 50 stations. A station is one code shape you memorize once; each stop is that shape plus one twist. Video walkthrough, tested Python solution and the Java shape on every page.

Start free →

✓ 100% free · all 12 lines, 50 stations and 500 stops are open · nothing to sign up for

  • 12lines, one topic each, in prerequisite order
  • 50stations, one code shape each
  • 500stops, each a solved problem
  • 55shapes to memorize, 4 to 16 lines each

Read it like a metro map: a colored line is one topic, a ring is a station (one code shape you memorize), a dot is a stop (one problem). The little car rides the gold Start Here express: 14 stations that unlock the rest. Click a line to zoom in, a station to open its shape, a stop to see the problem. Drag to pan.

Why hop on

The videos are free. So is everything else.

Hundreds of walkthroughs are public on @InterviewPatternMastery and stay free. PatternMastery is the free system that turns them into something you can memorize and reuse: ten things you get on the map.

What you actually memorize

55 code shapes. 477 lines of Python in total.

That is the whole hard-memorization budget: 50 stations plus 5 recursive or iterative twins, 4 to 16 lines each, 8.7 on average. Everything else is a twist you can derive. Pick a shape, switch the language, notice the variable names never change.

One stop, end to end

PM 67 · Longest Substring Without Repeating Characters.

Stop 1 of 14 on the Grow-Shrink Window station. The walkthrough video, the station, the twist and the tested solution all sit on one page. Open PM 67 →

PM 67 · Python walkthrough

Same problem, same station, two languages. Across the 500 stops: Python walkthroughs for 498 and Java walkthroughs for every one of the 100 Pattern Mastery stops (100). Every station has its shape in both.

  1. The stationGrow-Shrink Window, 6 lines. Memorized once, used by 14 stops.
  2. The twistState: a set of seen characters. invalid(): a duplicate exists. Record: the longest valid window.
  3. On the pageCanonical solution and baseline pre-loaded, tests for this problem, run in the browser, mark watched for review. Free.
Routes · 24 companies · Interview Intel

Pick a company. See its route on the same map.

Each route is built from how often that company's loops hit a station, not from a marketing list. Badges count the company's problems per station; filled badges are must-do. Interview Intel packs add the loop itself: stages, reported questions, and the station each one maps to.

Interviewing somewhere not listed? Request a pack and get it within 48 hours. Open Interview Intel →

FREE What it costs

Everything is included. The price is $0.

Free · for everyone
No account, no card, no trial clock. Your progress, notes and watched marks are saved in your browser.

Found a bug or a wrong solution? hello@patternmastery.com

  • All 12 lines: 50 stations with the animated, line-synced scene and the shape in Python and Java
  • 500 stops with canonical + baseline solutions pre-loaded, tests, in-browser Python runner
  • Walkthrough video on every stop (Python), and in Java on all 100 Pattern Mastery stops
  • Progress rings, the Start Here express, Recall mode and spaced review
  • 24 company routes on the map, Interview Intel packs, request any company (48h)
  • AI tutor, notes, study plans and the resume builder
FAQ

Questions people ask.

What exactly do I memorize?

55 code shapes: 50 stations plus 5 twins (the recursive or iterative form of the same move), 4 to 16 lines each, 477 lines in total. Each shape has an invariant and a table of the only things that change between its stops. You never memorize a problem; you memorize the station and learn to spot the twist. See all of them above.

Why not just watch the YouTube videos?

Please do, they are free. A video shows one problem; the map tells you which of the 50 stations it is, what changed, which 13 other stops share the shape, and what to ride next. The site also puts the tested solution in an editor you can run, tracks what you have cleared, and lets you rebuild the shape from memory with Recall mode.

Is Java really supported?

Partly, and we say so on each page. Every one of the 50 station shapes is written in Java with the same variable names as the Python version, problem pages show that Java shape, and all 100 Pattern Mastery stops have a per-problem Java walkthrough video. Per-problem Java listings for the other 400 stops are not published yet; the Python solution plus the Java shape covers the same steps.

What if the video uses a different approach than the canonical shape?

Both are on the page. The station form is first (it is the one you memorize), the form the video walks through is labeled "in the video", and any form still being recorded is labeled "video pending". Every form is tested against the problem's cases.

Is it really free?

Yes. All 500 problems, all 50 patterns, every video, every tested solution, the company routes, Interview Intel, the AI tutor and the resume builder. There is no paid tier and nothing is locked.

Do I need an account?

No. There is no sign-up. Progress, notes and watched marks are kept in your browser's local storage, so use the same browser to keep them. The YouTube channel is free and stays free.

Start free → Open Interview Intel