call(back)

Snowflake

A small, bank-driven loop: a handful of coding families recur, and the follow-ups plus your own test cases decide a round more than the base problem does. Prompts often start on a blank page with no signature, so clarify, pick the interface and write the tests yourself. System design is infrastructure — a job scheduler, a key-value store, an ACL service — and the interviewer drills one mechanism until the hour ends.

Typical loop

  1. 1Recruiter screen: ~30 min — background, location, work authorization
  2. 2Some applicants: a ~20 min AI-conducted voice pre-screen on two projects, a conflict, and how you use AI tools
  3. 3Technical phone screen: two 45–60 min CoderPad rounds — usually both coding, sometimes one coding and one system design
  4. 4Onsite, often in person: three to four 60 min rounds — one or two coding, one system design, one behavioral; some loops add a project deep dive or an AI-augmented coding round
  5. 5Team matching: hiring-manager and teammate chats, still evaluative

Questions

Callback's practice questions and the LeetCode questions Snowflake has been asking, filtered together.

Practice questions

Debounce

Frontend · Closures and timers, the frontend screen classic.

easySign in to star problems

Build a Todo List

Frontend · List state done right: keys, controlled input, and deletes.

mediumSign in to star problems

Build Tabs

Frontend · One active index drives the whole component.

easySign in to star problems

Connect Four

Frontend · Immutable board updates, gravity in dropPiece, and a win check that only looks through the last move.

mediumSign in to star problems

Transfer List

Frontend · Two arrays and one Set of checked ids — get a working version fast, then polish.

mediumSign in to star problems

Implement Array.prototype.flat

Frontend · Depth, holes and Infinity — without recursion, so 100,000 levels can't overflow the stack.

mediumSign in to star problems

Implement cloneDeep

Frontend · Cycles, shared references, Date, RegExp, Map, Set, prototypes and symbol keys: everything spread and JSON get wrong.

mediumSign in to star problems

Implement memoize

Frontend · A closure over a Map keyed on every argument — and has, not truthiness, so 0 and undefined still hit.

mediumSign in to star problems

Tic-Tac-Toe: N by N, M in a Row

Frontend · A board of any size, a win check that looks only through the last move, and a status line for turn, winner or draw.

mediumSign in to star problems

Implement Promise.all

Frontend · Store results by index, count down, resolve an empty input at once, reject on the first failure.

mediumSign in to star problems

Implement curry

Frontend · Collect arguments until fn.length have arrived — with a fresh array per call so partials stay independent.

mediumSign in to star problems

Implement Throttle

Frontend · A leading call, then at most one call per window — with a trailing call that carries the latest arguments.

mediumSign in to star problems

Kanban Board

Frontend · Columns of cards with immutable moves: one pure moveCard function serves the buttons and the drag-and-drop alike.

mediumSign in to star problems

Grid Game: Lights Out

Frontend · State in one object, a pure toggle that flips a cell and its neighbours, one delegated click listener, and a render from state.

mediumSign in to star problems

Implement an Event Emitter

Frontend · A map from event name to listener list; copy the list before emitting so listeners can unsubscribe mid-emit.

mediumSign in to star problems

Implement deepEqual

Frontend · Primitives by value (NaN equals NaN), arrays by length and elements, plain objects by key set and values, recursively.

mediumSign in to star problems

Implement JSON.stringify

Frontend · A recursive serializer with the real rules: undefined vanishes from objects but becomes null in arrays, and strings need escaping.

mediumSign in to star problems

Undo/Redo Manager

Frontend · Two stacks: a new value pushes the old one onto undo and clears redo; undo and redo move values between them.

mediumSign in to star problems

Chessboard in React

Frontend · Derive the 64 squares in render — no board in state — then add selection and a move with one piece of state.

easySign in to star problems

Robot Eats Candies on a Grid

Frontend · Keyboard movement with walls and edges, a breadth-first path to the nearest candy walked by a requestAnimationFrame loop, and a debounced hint, in plain JavaScript or React.

mediumSign in to star problems

Grid Lights

Frontend · Remember the order cells were lit; when all are lit, a self-re-arming timeout switches them off in reverse.

mediumSign in to star problems

Memory Game

Frontend · A shuffled deck, at most two face-up ids, a set of matched faces, and one effect that resolves each pair.

mediumSign in to star problems

Whack-a-Mole

Frontend · Two intervals owned by one effect keyed on the running flag, and a round that ends when the clock hits zero.

mediumSign in to star problems

Selectable Cells

Frontend · Two corners in state and a derived rectangle; pointer events on cells plus one document listener for the release.

mediumSign in to star problems

Pixel Art

Frontend · A flat array of 225 colours, a palette, draw and erase modes, and a stroke that paints while the pointer is held.

mediumSign in to star problems

Nested Checkboxes

Frontend · Store only the leaves; every parent's checked and indeterminate state is derived from the leaves beneath it.

mediumSign in to star problems

Data Table I

Frontend · Three pieces of state — page, page size, sort — and rows derived from them in render.

mediumSign in to star problems

File Explorer

Frontend · A recursive component over nested data, with a set of expanded ids as the only state.

mediumSign in to star problems

useDebounce Hook

Frontend · A state copy of the value and one effect whose cleanup cancels the pending update on every change.

easySign in to star problems

Traffic Light

Frontend · One state value and one timeout per light, re-armed by an effect keyed on the colour; an interval can't do unequal durations.

easySign in to star problems

Data Table II

Frontend · Filters live in the column config and in one state object; rows are filtered, then sorted, then paged.

hardSign in to star problems

Unique Paths Grid Game

Frontend · A grid of obstacle toggles in a reducer, with the route count and one highlighted route derived from the grid rather than stored.

mediumSign in to star problems

TypeScript Kanban Board I

Frontend · Left and right arrows instead of drag-and-drop: one typed MOVE_TASK reducer action, and controls that disappear at the board's edges.

easySign in to star problems

TypeScript Kanban Board II

Frontend · Every moved task lands at the bottom of its new column: normalized state with one ordered ID list per status, then the board at 100,000 tasks.

mediumSign in to star problems

Asked on LeetCode

222 questions · all time