Skip to content
Hardmode

// Round 02 · 45 min · 25 credits

Live coding.

Algorithms and data structures in an in-browser editor, while you explain your approach out loud.

Live coding is not a test of whether you can produce an answer. It’s a test of how you get there: whether you clarify the problem, pick an approach for a reason, communicate while you work, and catch your own bugs. Hardmode gives you an in-browser editor and an interviewer that watches the whole process, not just the final output.

Evaluates

What this round tests

Live coding rounds use a small, well-defined problem to watch how you think. Interviewers generally care less about whether you know a particular trick and more about whether you can turn a prompt into working code, explain your choices as you go, and check your own work. A correct solution reached in silence often comes across less well than a slightly slower one explained clearly.

  • Problem solving: clarifying the problem and choosing an approach for a reason
  • Coding: readable, working code in a language you know well
  • Communication: narrating your thinking so the interviewer can follow and help
  • Verification: testing with examples and reasoning about complexity and edge cases

Scope

What this round covers

  • Clarifying inputs, constraints, and edge cases before writing code
  • Choosing a data structure and saying why
  • Talking through your approach while you implement it
  • Testing your own code and reasoning about time and space complexity

Session

How the session runs

  1. 01

    The problem

    Pulled from the question bank, matched to the level and stack in the job description, or your own prompt.

  2. 02

    Code in the editor

    Write and run code in the browser. The interviewer can see the editor and hear your reasoning.

  3. 03

    Follow-ups

    Once it works, expect the twist: a new constraint, a larger input, or a request to optimise.

Personalised

Fitted to you

Your CV

Uses a language from your CV or the job, and pitches problems at the level you’re interviewing for. Optional, and you can switch it off for any session.

Your difficulty

  • Easy: A friendly interviewer who wants you to do well.
  • Medium: A fair, professional interviewer. What most interviews feel like.
  • Hard: A proper grilling, like a big-tech bar-raiser loop.

Review

What your feedback covers

  • How you used your time, from clarifying to testing
  • Moments where explaining helped, and places where saying more would have
  • Edge cases and complexity points worth revisiting, tied to the line in your code

Detailed and supportive at every difficulty · No score, no verdict

Prep

Tips before you start

  • Restate the problem and confirm one example before touching the keyboard. It catches misunderstandings while they’re cheap.
  • Say the brute-force approach first; it buys time and shows judgement. Then explain what makes it slow and what would help.
  • Trace your code with a small input before declaring it done, out loud and line by line.
  • Keep talking while you type, even briefly. Silence makes it hard for the interviewer to give you useful hints.

// Questions

Common questions.

How long is a live coding interview?

Usually 45 to 60 minutes, often one main problem with a follow-up, sometimes two smaller problems. A few minutes at the start and end go to introductions and your questions. Hardmode’s sessions are 45 minutes.

Which language should I use?

The one you’re fastest and most accurate in, unless the job asks for a specific language. Interviewers care about clear code and reasoning, and hunting for standard-library calls in an unfamiliar language uses time you need for the problem.

What should I do when I get stuck?

Say where you’re stuck and what you’ve tried. Go back to a small example, work it by hand, and look for the pattern. If the interviewer offers a hint, take it and build on it; using a hint well is part of what they’re watching.

Do I need the optimal solution?

Not always. A working brute-force solution with a clear explanation of its cost, followed by a step toward something better, is often a reasonable place to finish. Name the brute force early, then improve it if time allows.

How should I test my code in the interview?

Walk through it with a small, normal input first, then an edge case such as an empty input, a single element, or duplicates. Say what you expect at each step. Finding and fixing your own bug calmly reads as a strength.

// Player 1

Get ready for hard mode.

Paste the job you want. Run the loop until the real one feels like a rematch.

20 free credits · No card required