forked from super30admin/Design-5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0d6086
commit 051b190
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# Design-5 | ||
# Design-5 | ||
|
||
## Problem: | ||
This problem was asked at Intuit | ||
|
||
Design a parking lot system where you need to provide a token with the parking space number on it to each new entry for the space closest to the entrance. | ||
When someone leave you need update this space as empty. | ||
What data structures will you use to perform the closest empty space tracking, plus finding what all spaces are occupied at a give time. |