Skip to main content
All Questions

Design the state, filters, tracking and tests for a hotel booking page.

Unlock detailed company stats for this questionUpgrade

Questions asked about a hotel booking page and React:

  • List the core entities for a hotel booking page.
  • What are the different ways to store data or manage state in React (local state, props, context API, external libraries like Redux)?
  • On the hotel booking page, what are the different ways to store the state of selected filters (state, query params, ...)?
  • How would you track funnel conversion, i.e. how many users went through search, view, book and pay, and how many at each stage?
  • What are the different testing strategies and best practices for them (unit, integration, screenshot tests, with examples and boundaries)?
  • How would you manage test failures that are not caused by your own code (mocking external dependencies, mock servers, retries for flaky tests, making tests independent)?

Format · Technical interview.

Community answers

No answers contributed by the community yet.

Related courses

Course

Software Engineering Interview Prep

Land your dream software engineering role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates—practice data structures, algorithms, system design, people management, behavioral interviews, and more.

Course

System Design Interviews

Learn how to answer the latest system design questions across product, infrastructure, and AI domains. Features in-depth video examples, written breakdowns, and helpful reference patterns. Watch senior engineers and managers answer these questions in mock interview videos.