← Questions

Design a parking lot

0
AmazonUberOO designLast asked Nov 2026

An object-oriented design interview question asked in Amazon's technical phone screen and at Uber, last asked Nov 2026. It tests object-oriented design.

Design and implement the core of a parking lot in code. The lot has several floors, and each floor has numbered spots of three sizes: motorcycle, compact and large.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Amazon · Technical phone screen · Last asked Nov 202660 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI
  • Uber · Coding · Last asked Oct 202660 min · Two rounds; one is often object-oriented design (a parking lot, a meeting scheduler, an expression evaluator) · No AI, except a newer AI-assisted debugging round in some senior loops

What it tests

object-oriented design

Your canvas and the AI tutor open when you unlock this question.