skip to content

questions

17

In a timed online coding assessment with three problems, how should you decide the order to attempt them?

level: juniorimportance: must knowfreq 78%

answer

  1. The listed order is not a ranking
  2. First minutes are for reading, not typing
  3. Price each problem before starting it
  4. Cheapest full solve first, hardest last
  5. Every budget needs a hard stop

basics

~20 s

Read all three problems before writing code, then attempt them cheapest-first rather than in the listed order. The given order is not a difficulty ranking, and banking the solves you are sure of protects points the clock would otherwise take.

solid answer

~40 s

I spend the first four or five minutes reading every problem end to end, constraints included, and tagging each one cheap, medium or expensive. Then I attempt them in ascending order of expected cost and give each a written time budget with a hard stop. For an 82-minute, three-problem assessment that might be roughly 15, 25 and 35 minutes with the remainder as slack for submitting. The classic way to lose one of these is to start at the first problem, discover it is the expensive one, and reach the last problem with nine minutes left and nothing submitted. Cheapest-first means that if the clock beats me, it beats me on the problem I was least likely to finish anyway.

go deeper

for a junior

Know that you read every problem before typing and that the listed order is not a difficulty order. This much test-taking discipline is expected on a first assessment, and it is where most avoidable points are lost.

for a middle

Be able to describe the mechanics: pricing each problem during a short read-through, ordering by expected cost rather than by point weight, and reserving slack at the end to submit on every problem.

for a senior

Show what you do when the plan breaks — how you decide mid-window to abandon a problem you mispriced, and how you weigh a certain partial score against a possible full one.

for a principal

Own the tradeoff that triage optimises for the score, not for showing depth, and that a stage gated this way selects partly for exam technique. If you set such a stage for a team, that is the bias you are accepting.

## The shape of the stage An automated online assessment gives you a fixed window, a set of independent problems, and a grader that scores each submission against a hidden suite of test cases. Nobody is watching you think. The only thing that leaves the room is a score report: how many points each problem earned, when you submitted, and how the window was spent. That makes an assessment a *test-taking* problem sitting on top of a coding problem, and the single largest score swing available to most candidates is the order they attempt the problems in. ## Why the presented order is not a ranking Problems are usually assembled from a bank and slotted into a template. The order can reflect a rough intent, but it is not a promise, and problem weights are frequently uneven — a harder problem carries more points precisely because fewer people finish it. Two consequences follow. First, the most expensive problem can sit first. Second, the cheapest problem can sit last, where the clock never reaches it. A worked illustration, invented but typical: a mid-size product consultancy screens junior frontend candidates with an 82-minute, three-problem assessment. The weights are 300, 120 and 180 points, and each problem is scored on its hidden tests — 26, 11 and 17 of them respectively. The first problem is the expensive one. | Candidate | Order taken | Result | |---|---|---| | A | 1, 2, 3 as listed | 51 minutes on problem 1 (14 of 26 tests, 162), 22 rushed minutes on problem 2 (9 of 11, 98), 9 minutes left for problem 3 and nothing submitted (0). Total 260 of 600. | | B | 2, 3, 1 after reading all three | Problem 2 in 11 minutes (11 of 11, 120), problem 3 in 24 minutes (16 of 17, 169), problem 1 with the remaining window and a hard stop, submitting a correct but slow version (19 of 26, 219). Total 508 of 600. | Same skill, same problems, roughly double the score. Candidate A did not run out of ability; they ran out of clock on the problem that was always going to be hardest, and paid for it with the cheap points they never reached. ## The routine 1. **Read everything first.** Four or five minutes reading all the problem statements, including the constraints and the output format, is not lost time — it is the only time you will get to price the work. 2. **Tag each problem.** Cheap (you can see the whole solution), medium (you can see the approach but not the details), expensive (you would need to think). Note the point weights beside the tags. 3. **Order by expected cost, not by weight.** A 300-point problem you have a 30 percent chance of finishing is worth less than a 120-point problem you will certainly finish. 4. **Budget with hard stops.** Write the minute at which you will leave each problem before you start it. The stop is the whole point of the budget. 5. **Keep slack.** Reserve the last several minutes to submit whatever exists on every problem, re-read output formats, and make sure your best version is the one sitting in the editor at the buzzer. ## When the plan is wrong Misjudging a problem during the read-through is normal. What separates a good run from a bad one is what happens at the hard stop: you take the partial score you have banked and move on rather than sinking another twelve minutes into the sunk cost. If you finish early, you can always come back — an abandoned problem is still there, and a returned-to problem starts from your last saved code. ## What triage is not Triage does not make you better at the underlying problems, and it will not rescue a run where nothing was solvable. It protects you from the one failure that is purely procedural: attempting the problems in the order given and timing out on the hardest with the cheap ones untouched.

  • You have nineteen minutes left and only a brute-force solution you are confident is correct — do you submit it?
    Yes, submit the correct slow version immediately, then optimise on top of it. Banked points cannot be taken away, and a partially passing submission usually beats an elegant one that never compiled. Check the instructions for whether the grader keeps your final submission or your best one; where only the final counts, re-submit the working version before the window closes.
  • How do you set per-problem time budgets before you know how hard the problems are?
    Set them right after the read-through, not before it. Divide the usable window by the number of problems, then shift minutes toward the ones you tagged expensive and away from the ones you can already see the solution to. Hold back roughly a tenth of the window as slack for submitting and re-checking output formats.
  • Twenty minutes in you realise you misjudged which problem was cheapest — what do you do?
    Re-rank on the evidence you now have and move at the next natural break rather than at the end of the problem. Save what you have written so the partial solution is still there, take the score it earns, and start the problem you now believe is cheapest. The cost of switching is small; the cost of finishing a misjudged problem out of stubbornness is the whole window.

saying these in an interview costs you the question

  • Starting the first problem immediately without reading the others
  • Treating the presented problem order as a difficulty order
  • Letting one expensive problem consume most of the window
  • Setting time budgets but never enforcing a hard stop
  • Reaching the buzzer with a working solution never submitted

context

open as a page

What is a technical phone screen, and what decision does it gate?

level: juniorimportance: must knowfreq 84%

basics

~20 s

A technical phone screen is a 45-to-60-minute remote call where a candidate solves one or two small coding problems in a shared editor with an engineer listening. It gates the onsite: the screener recommends advance or reject.

open as a page

What is a recruiter screen actually deciding, and what does the recruiter record from the call?

level: juniorimportance: must knowfreq 87%

basics

~20 s

A recruiter screen decides whether you enter the pipeline at all. In roughly 25 minutes a recruiter confirms role fit, logistics and clear communication against an intake checklist, then records those facts so an engineering round can be scheduled.

open as a page

What belongs in the README you ship with a take-home coding assignment?

level: juniorimportance: must knowfreq 62%

basics

~10 s

A take-home README should carry run instructions that work on a clean machine, the scope you chose and why, the tradeoffs and known gaps behind it, and roughly how long you spent.

open as a page

In an automated coding assessment, why can code that passes the sample cases still score low?

level: middleimportance: must knowfreq 71%

basics

~20 s

Sample cases are illustrations, not the grading suite. The hidden tests add boundary inputs and inputs at the constraint ceiling, and where scoring is per test, the problem score is the fraction of that hidden suite your submission passes.

open as a page

Why does it matter whether a technical phone screen's shared editor can run code?

level: middleimportance: must knowfreq 68%

basics

~20 s

Whether the shared editor executes code decides what counts as proof. A running editor lets you demonstrate correctness by executing a case; a plain collaborative editor means you must trace the code aloud instead, because nothing will ever be run.

open as a page

Why does a recruiter ask about location, work authorisation and start date in a screening call?

level: middleimportance: must knowfreq 74%

basics

~20 s

Those three fields decide whether the employer can hire you for this opening at all, so they sit near the top of the recruiter's intake checklist. They are eligibility and scheduling facts, checked early precisely so nobody spends interview time on an unworkable match.

open as a page

A take-home brief suggests about six hours of work but allows five days - how do you scope it?

level: middleimportance: must knowfreq 58%

basics

~10 s

Build to the stated hour budget, not the calendar window. Deliver one core path end to end with a few tests, stop at the timebox, and record everything you skipped in the README.

open as a page

What kinds of behaviour do proctored online coding assessments typically flag for review?

level: middleimportance: should knowfreq 54%

basics

~20 s

Common flags include leaving the assessment window, large paste events, abrupt jumps in typing activity, and similarity between your submission and other code. Which signals are collected varies by platform and by what the employer switches on.

open as a page

How should you budget the clock in a 45-minute technical phone screen?

level: middleimportance: should knowfreq 62%

basics

~20 s

Reserve a few minutes for setup and a few for closing, ask early whether the screener has one problem or two, and size your depth on the first problem to whatever answer you get. A finished modest solution beats a perfect unfinished one.

open as a page

What does a recruiter do with the compensation range you give during a screening call?

level: middleimportance: should knowfreq 68%

basics

~20 s

It is logged on the recruiter's intake checklist and used to route you: does your range overlap the opening's budget, and does it match the level being considered. Whatever is recorded there becomes the reference point later conversations start from.

open as a page

In a take-home submission, what do reviewers actually learn from the tests you include?

level: middleimportance: should knowfreq 50%

basics

~20 s

Tests show a reviewer which behaviour you consider load-bearing and whether you can make code verifiable under a deadline. A handful of meaningful tests plus a README note on untested areas beats broad shallow coverage.

open as a page

With eight minutes left in a technical phone screen and a half-finished faster rewrite, what do you do?

level: seniorimportance: should knowfreq 54%

basics

~20 s

Go back to the version that worked, get it running and checked, and describe the faster approach in words instead of building it. The archived session is what gets reviewed, so a demonstrably working solution outranks an unfinished better one.

open as a page

How much should you tell a recruiter about other interview processes you are running in parallel?

level: seniorimportance: should knowfreq 56%

basics

~20 s

Share the shape and the timing, not the roster: how many processes are live, roughly how far along, and any real dated deadline. That is the field on the recruiter's intake checklist. Employer names are optional and rarely help you.

open as a page

How do you push back when a take-home assignment asks for several unpaid days of work?

level: seniorimportance: should knowfreq 34%

basics

~10 s

Reply early and in writing: tell the recruiter or hiring manager how much time you can commit, propose a scoped subset or a walkthrough of existing work instead, and ask which criteria they score.

open as a page

What do reviewers read from the commit history of a take-home repository?

level: middleimportance: nice to knowfreq 30%

basics

~20 s

Commit history shows how you work. Incremental commits with real messages let a reviewer follow your scoping decisions, while one giant dump, committed secrets or stray build artefacts quietly cost signal you did not need to lose.

open as a page

What does an employer typically see in an online coding assessment's score report?

level: seniorimportance: nice to knowfreq 40%

basics

~20 s

Usually more than one number: per-problem scores with hidden tests passed and failed, submission timing across the window, integrity counters, and often a comparison against other candidates on the same assessment. What is exposed varies by platform and employer setup.

open as a page