Infuse (CA) Interview Question

Model a parking lot with pseudo code