89A streaming chat UI in React drops tokens, shows garbled characters, and lags on long replies. Find the three bugs and fix them.▼mediumNewSierraDecagonHarvey2 replies◆ premiumThis is the shape of the TypeScript debugging round at the agent companies: a forty-line stream handler that mostly works. Each bug has a one-line demonstration, and none of them is in the model. One is a stale closure, one is a decoder splitting a multibyte character, and one is a render per token.Open full answer →
10A customer's Next.js site has a 3-second TTFB. Diagnose it and walk me through fixes, and how you'd prove each one worked.▼mediumVercelRetool1 repliesunlockedVercel's signature triage question. 3s TTFB is almost never 'the server is slow', it's a rendering-strategy problem with four classic causes, and the rubric rewards proving each fix with a measurement, not vibes.Open full answer →