---
title: "Comment by Syed Mizbahuddin on \"Design (LLD) a Parking Lot - Machine Coding Interview\" | Hashnode"
description: "How will this scale, if there are more parking spots type? Adding more HashMap&lt;&gt;, switch case does not look good, should we have a Parking floor Manager a"
url: "https://hashnode.com/posts/design-lld-a-parking-lot-machine-coding-interview/627f8871bc9305ec39362e20/comment/65db271af61eccc09db5653c"
---

[Discussion](https://hashnode.com/posts/design-lld-a-parking-lot-machine-coding-interview/627f8871bc9305ec39362e20)

Comment [Design (LLD) a Parking Lot - Machine Coding Interview](https://hashnode.com/posts/design-lld-a-parking-lot-machine-coding-interview/627f8871bc9305ec39362e20)

[Syed Mizbahuddin](https://hashnode.com/@syedmizbah)

[Feb 25, 2024](https://hashnode.com/posts/design-lld-a-parking-lot-machine-coding-interview/627f8871bc9305ec39362e20/comment/65db271af61eccc09db5653c)

How will this scale, if there are more parking spots type? Adding more HashMap<>, switch case does not look good, should we have a Parking floor Manager and a parking spot Factory? and we just make Parking Spot also an abstract class, make BikeSpot, Car Spot, just like Vehicle and use in Factory?
