How to use this page
Fresher · 0–2 yrs, SDE-1
Mid · 2–5 yrs, SDE-2
Senior · 5+ yrs
Every answer has the same parts: what to say, the follow-up you'll likely get, and the trap that catches most candidates. Filter to your level, but skim one level above it.
Code cards marked "predict" show the snippet first. Say the output and why before you reveal it. Examples target React 19 and TypeScript 5.x. Each answer says whether its basis is a documentation page we saw or a widely reported pattern.