Your question is Multi-Level Parking Lot System. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design a multi-level parking lot system that supports parking for both bikes and cars, including parking, unparking, and locating the assigned slot.
Define the core entities and APIs, explain how slots are assigned by vehicle type, and handle invalid operations such as duplicate parking, unavailable capacity, or unknown tickets. Discuss how your design would remain consistent under concurrent requests.