Skip to content

Live Coding Map

Practise the hour you will face. A SQL or Python task, a shared editor, an interviewer who asks questions, and a clock.

For data, analytics and backend engineers preparing for a live-coding round in SQL and practical Python, and for Russian-speaking engineers who interview in English. Four things make it different from a bank of SQL questions:

Interview tasks on one dataset

32 tasks on a realistic business dataset: a made-up subscription marketplace with payouts, webhooks and advances. The Python is the kind you write at work: idempotency, money, retries, messy input files, API clients, writing tests, fixing broken code. Real tests check your answer in the browser.

A protocol for the hour

The questions to ask before you code, with the interviewer’s answers. A timer, phrases to think aloud, and the follow-up question that comes after the code works.

Checks that catch the traps

Check also runs your SQL on hidden edge-case data: a day with no sales, a quiet month, ties, a sale on the last day of a month. A query that fits only the visible rows fails.

Free and open

No login and no account. Open source, every page in English and Russian. Task texts stay in English, as in the interview.

  1. Read the introduction: what the interview tests, the usual format and how an exercise works.

  2. Pick a study plan that fits your time and follow it on the skill map. The map shows what you have covered, what you skipped and what comes next.

  3. Learn the protocol and say the think-aloud phrases until they come without effort. Then get to know the practice dataset: every SQL exercise runs on it.

  4. Work through the topics: SQL foundations, SQL patterns and Python. Solve each drill before you open the answer, and guess each trap before you run it.

  5. Solve the interview tasks on a timer: 25 minutes, or the target time plus 10 for the hardest, out loud, from an empty editor. Open the walkthrough only after Check passes.

  6. Before the interview, do a mock interview, copy the recipes onto one sheet of paper, read the common mistakes and review the flashcards.

  • 36 SQL drills and 26 Python drills. One question each, an editor, Run, Check and Show answer.
  • 23 SQL traps. Short queries that look right and are not. Guess the result, run it, then fix it.
  • 16 SQL and 16 Python interview tasks. The statement, the questions worth asking, notes about the data, a reference solution and a walkthrough. Three of them are debug tasks: working code with bugs and a bug report.
  • One practice dataset for every SQL exercise: merchants, products, customers, four sales channels, marketplace payouts and an advances program. Seven tables, 8,294 transactions.
  • Real runtimes in the browser. SQL runs on PostgreSQL, Python on CPython, both compiled to WebAssembly. The first run downloads about 19 MB for PostgreSQL and 13 MB for Python; then the browser caches them.
  • Flashcards with spaced repetition in the browser, and an export to Anki in English and Russian.
  • Progress saved in your browser. The skill map, the study plan and the flashcards remember what you have done. Nothing is sent anywhere.
  • An exercises/ folder in the repository, to practise offline in your own editor: the same data in DuckDB, the tasks as files and pytest checks.

The code is under the MIT License and the content under CC BY 4.0; see Credits and licence. Found a mistake? Help fix it.

Site content: CC BY 4.0. Code: MIT. The exercises run in your browser: PostgreSQL by PGlite, Python by Pyodide.