Prompt 1
Design a hotel search page frontend from scratch for a million users and several teams
Practice version modelled on a reported round: Public report: LeetCode senior frontend engineer loop, Bangkok, July 2026
What this measures
Clarify first
Confirm what independent deploys must mean: separate bundles composed on one page, separate routes, or separate repositories with their own release cadence. Confirm what the result cards need from the inputs: does a filter change refetch, re-rank a loaded set, or both, and must a shared link reproduce the same results?
Strong answer should cover
Split the page by ownership rather than by visual block: search inputs, filters and results as separately deployable units behind a thin shell, and say what the shell owns (routing, auth, layout, the design system) and what it does not. Keep the search inputs and selected filters in the URL as the source of truth so a link reproduces a result set, derive component state from it, and name the single writer for each piece. Name the build: one framework version shared through the shell, a bundler that supports runtime composition of the units, and a contract test per unit so a team can release without a page-wide deploy. Make it observable before it ships: Core Web Vitals per route, error rates per unit, and a search-to-view-to-book funnel carrying a search id, so a regression points to one deploy.
Common miss: