← all topics

Final mock Code

The four problems linked from Meta's own prep guide · 45 minutes · blank editor · log honestly

These are the examples Meta's guide points candidates at. They are not a promise of what you'll be asked. Their value is as a realistic timed rehearsal, so do not open them early and do not look at hints first. Open the mock only when the coding topics (1, 3, 5, 7, 9, 11, 13, 15, 17, 20) are done.

How to run it

  1. Pick two of the four problems (a real screen is roughly 30-35 minutes of coding after a short intro, so two problems is realistic).
  2. Start a 45-minute timer. Use a blank editor with no autocomplete, no browser tabs other than the problem statement.
  3. For each problem, out loud: restate the task, ask two clarifying questions and answer them yourself, name the data structure and the complexity before coding, write it, dry-run two edge cases, state final time and space.
  4. Only then run the LeetCode tests. Log the outcome below: independent means working code with no hints and no peeking.
  5. Do the other two problems in a second session on another day.

The problems

Hidden until you unlock them.

(this also makes them visible in the tracker)

Scoring yourself (the guide's criteria)

CriterionPass looks like
StructureClarified first, named an approach, coded in small functions, tested before declaring done
Language familiarityNo stalls on syntax; placeholders for forgotten names, fixed later
Bugs / correctnessEdge cases (empty input, duplicates, malformed lines) handled or explicitly scoped out with the interviewer
EfficiencyStated time and space with the right variables; knew the next optimisation when asked
CommunicationSaid why for each decision; took hints; changed course without sulking

Network mock (do the same day or the next)

Run the network interview script for 45 minutes: 5 minutes of background, 10 minutes of "what happens when you load a page", 15 minutes of your deepest protocol (BGP), 10 minutes of a troubleshooting scenario from topic 19, 5 minutes of your questions. Record yourself or have a friend read the follow-ups from the review sheet.

← review sheet · all topics · tracker →