PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Software Engineering Fundamentals/Uber

Build a React Parking Lot Manager

Last updated: May 23, 2026

Quick Overview

This question evaluates proficiency in React-based frontend engineering, including single-page application architecture, state management with hooks, component design, domain modeling for vehicle and parking-space types, nearest-compatible space assignment, time-based fee calculation, and extensibility of pricing rules.

  • medium
  • Uber
  • Software Engineering Fundamentals
  • Frontend Engineer

Build a React Parking Lot Manager

Company: Uber

Role: Frontend Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Build a React single-page application for a parking lot attendant. The lot has a configurable number of spaces, and each space has a type such as compact, regular, or large. The UI should show current occupancy, allow a vehicle to check in, assign the nearest compatible available space, allow check-out, calculate the parking fee from the entry and exit time, and display a history of completed parking sessions. Keep state in the browser; no backend is required. Use functional components and hooks, and make the design easy to extend with new pricing rules or vehicle types.

Quick Answer: This question evaluates proficiency in React-based frontend engineering, including single-page application architecture, state management with hooks, component design, domain modeling for vehicle and parking-space types, nearest-compatible space assignment, time-based fee calculation, and extensibility of pricing rules.

Related Interview Questions

  • Design a Real-Time Top-K Ranking System - Uber (hard)
  • Design a Parking Lot - Uber (medium)
  • Design a Parking Garage Object Model - Uber (medium)
  • Design follow/follower classes - Uber (medium)
  • Design a meeting room reservation API - Uber (medium)
Uber logo
Uber
May 4, 2026, 12:00 AM
Frontend Engineer
Technical Screen
Software Engineering Fundamentals
0
0

Build a React single-page application for a parking lot attendant. The lot has a configurable number of spaces, and each space has a type such as compact, regular, or large. The UI should show current occupancy, allow a vehicle to check in, assign the nearest compatible available space, allow check-out, calculate the parking fee from the entry and exit time, and display a history of completed parking sessions. Keep state in the browser; no backend is required. Use functional components and hooks, and make the design easy to extend with new pricing rules or vehicle types.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Software Engineering Fundamentals•More Uber•More Frontend Engineer•Uber Frontend Engineer•Uber Software Engineering Fundamentals•Frontend Engineer Software Engineering Fundamentals
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.