这份 notebook 由 Donne Martin 准备。Source 和 license info 在 GitHub。
设计 Parking Lot
Constraints & assumptions
- 需要支持哪些 vehicle types?
- Motorcycle, Car, Bus
- 不同 vehicle type 占用的 parking spots 数量是否不同?
- Yes
- Motorcycle spot -> Motorcycle
- Compact spot -> Motorcycle, Car
- Large spot -> Motorcycle, Car
- Bus 需要 5 个连续的 large spots
- Parking lot 是否有 multiple levels?
- Yes
正在验证访问权限...