In a gem-swapping puzzle, three or more gems of one kind side by side in a row or a column of the board form a line. You implement the scan that reports every line once, at its full length. Later stages remove every line at once and let the gems above fall, then repeat until the board is still and count the rounds. Candidates report it from Roblox's phone screens and an onsite.
The stages
Each stage opens once the tests for the one before it pass, and each raises the bar, the way an interviewer does in the room.
- Find the lines.
- Remove and drop. Every line leaves the board at once, and the gems above fall into the gaps, each column keeping its order.
- Until nothing moves. Falling gems can line up again: keep going until the board is still, and count the rounds it took.
The round: an agent in the editor
The assistant here works like the one in the interview IDE. It reads your files, runs code and proposes changes, and you accept or reject each one. It doesn't volunteer ideas, so what gets built is what you asked for. Along the way the interviewer asks about your decisions, and at the end the report says what you checked and what you accepted unread.
More like it: every practice problem, how Roblox runs its AI round, the AI coding interview guide.