General Motors (GM) Interview Question

Write an algorithm to run a parking lot