PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Software Engineering Fundamentals/Uber

Design a Parking Lot

Last updated: May 2, 2026

Quick Overview

This question evaluates proficiency in object-oriented modeling, API design, concurrent resource allocation, state management, and billing logic for a transactional parking system.

  • medium
  • Uber
  • Software Engineering Fundamentals
  • Software Engineer

Design a Parking Lot

Company: Uber

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

In an AI-assisted coding round, design the core object model and APIs for a parking lot system. The system should support: - multiple floors - multiple spot types - vehicle types such as motorcycle, car, and truck - assigning a valid spot when a vehicle enters - issuing a parking ticket on entry - releasing the spot when the vehicle exits - calculating parking fees based on duration - querying current availability Explain the main classes, relationships, key methods, and how you would handle concurrent vehicle entry so that two vehicles cannot claim the same spot.

Quick Answer: This question evaluates proficiency in object-oriented modeling, API design, concurrent resource allocation, state management, and billing logic for a transactional parking system.

Related Interview Questions

  • Build a React Parking Lot Manager - Uber (medium)
  • Design a Real-Time Top-K Ranking System - Uber (hard)
  • 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
Apr 21, 2026, 12:00 AM
Software Engineer
Onsite
Software Engineering Fundamentals
73
0
Loading...

In an AI-assisted coding round, design the core object model and APIs for a parking lot system.

The system should support:

  • multiple floors
  • multiple spot types
  • vehicle types such as motorcycle, car, and truck
  • assigning a valid spot when a vehicle enters
  • issuing a parking ticket on entry
  • releasing the spot when the vehicle exits
  • calculating parking fees based on duration
  • querying current availability

Explain the main classes, relationships, key methods, and how you would handle concurrent vehicle entry so that two vehicles cannot claim the same spot.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

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

Master your tech interviews with 8,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.