Question: Suppose eight cars have arrived, of which two have left. Also suppose that car 4 is a compact and car 7 is an SUV. Which of the following is a POSSIBLE current configuration of the parking lot?
Explanation:
Let us consider each option.
Option (a) : 8, 2, 3, V, 5, 7, 6
Here, 5, 7, 6 is not possible since car 7 cannot take position between cars 5 and 6.
Option (b) : 8, 2, 3, V, 6, 5, 7
There cannot be two parking slots between 3 and 5.
Option (c) : V, 2, 3, 7, 5, 6, 8
Since 7 is an SUV, it cannot come in place of 4 which is a compact car.
Option (d) : 8, 2, 3, V, 5, 6, 7
This is possible in the following sequence of arrival of cars.
I. Cars 1 till 7 arrive one after the other. 1 2 3 4 (compact) 5 6 7(SUV)
II. Cars 1 and 4 leave. V 2 3 V 5 6 7(SUV)
III. Car 8 arrives. 8 2 3 V 5 6 7(SUV)
Hence, option (d).