Code RoomLive table column split
HardPrep Room Coding #3972

Live table column split

Vibe & agenticAlgorithms & data structuresSenior–Staff~22 min

You must split a `users` table's monolithic `full_name` column into `first_name`/`last_name` across a live, high-traffic Postgres database with zero downtime. How do you decompose this for an AI agent — which steps do you delegate, which do you keep and gate behind human checkpoints, and why?

Implement
split_full_name(full_name: str) → list[str]
Examples
in["Ada Lovelace"]out["Ada","Lovelace"]
in["Ludwig van Beethoven"]out["Ludwig","van Beethoven"]
What a strong answer looks like

Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it (tests, edge cases, reading critically), and how you’d re-prompt or decompose to get it right.

0:00 of about 22 min

Vibe & agentic: describe the solution in plain language (or narrate it) and the coach grades your approach.

Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.