Minimum Moves in Parking Lot
Filed under ThoughtSpot
The question
Given a parking lot with k slots and k cars numbered 1 to k, with one free slot available, find the minimum number of moves required to place each car into its respective slot.
No write-up yet. Related questions below have one.
Related ThoughtSpot questions
Collected from public candidate posts and coding forums. Updated Nov 2026.