Interview Practice

Take-home & Review

Build a small feature with tests and a README, then defend it in review.

What interviewers evaluate

  • Working code with tests
  • A README with assumptions
  • Defended trade-offs
  • A credible next-steps list

What you will be asked

Solve a small exercise offline, then explain your solution in review.

In the room

A short offline task with fixtures and tests, followed by a review conversation where you walk through your code and your choices.

Timebox

2-4 hours plus a 45-minute review

Mock interview

A timed answer to a random question from this level, then the reference answer and your score.

Start a mock interview

How to practice

  • Pick a linked exercise, solve it in your own editor with tests, and write a short README: how to run it, your assumptions, and its limits.
  • Then explain your solution out loud in five minutes, as if to a reviewer.
  • With a peer: they read your code first and ask about the line they find least clear.

What a strong answer shows

  • Working code that passes the fixtures
  • A README with how to run it and the assumptions made
  • Tests for edge cases, not only the happy path
  • A clear walk-through of one design choice

Questions for this level

Each question opens on its Practice tab, and Previous and Next follow this list.

Prompting & Structured Output

Easy
Hands-on

1.5 h

Write a pure function that accepts a model's JSON review summary or returns every contract violation as a stable error code, predict its result for eight replies, and say what a valid summary still cannot prove.

Tool Calling & Agents

Medium
Hands-on

3 h

Implement a get_ticket adapter that validates model-proposed arguments, takes tenant scope from trusted context, and passes a fixture table, then explain how a bounded orchestrator handles timeouts, invalid calls, and parallel lookups.

RAG & Data Pipelines

Medium
Hands-on

3 h

Trace a missing policy exception through ingestion, eligibility, and context packing without weakening access rules.

Prompting & Structured Output

Medium
Hands-on

3 h

Implement a dependency-free validator for a ticket contract, classify each fixture failure by layer, and design a two-attempt recovery that never commits invalid output.

AI Developer Tooling

Medium
Hands-on

3 h

Implement the request handler of a small read-only MCP server that validates tool arguments from their declared schemas and puts each failure in the right channel, then review the trust model of adding a shell tool and installing a third-party server.

Take-home brief

Solve one linked exercise offline with tests and a short README, then walk a reviewer through it in ten minutes.

A strong answer covers

  • The tests run with one command
  • The README states the assumptions and what is out of scope
  • You can explain why the checks run in the order they do

Follow-up questions

An interviewer may ask these next.

  • What would you change if this ran in production?
  • Which test gives you the most confidence?
  • What did you leave out, and why?

Scoring rubric

Interview ready at 8 of 10 with no 0.

Dimension012
Problem framingJumps to a solution or solves the wrong problemRestates the problem but misses key constraints or success criteriaClarifies goals, constraints, and success criteria before solving
CorrectnessKey claims or code are wrongMostly right with gaps or unhandled casesCorrect and precise, including edge cases
Evidence or testingNo way to verify the answerGeneric testing ideasConcrete fixtures, metrics, or traces that would confirm or refute the approach
Trade-offsOne option, no alternativesNames alternatives superficiallyCompares options against the stated constraints and says what would change the decision
CommunicationDisorganized or unclearUnderstandable but meanderingStructured and concise; states assumptions; checks in with the interviewer