Sign in
Please select an account to continue using cracku.in
↓ →
A shopping mall has a large basement parking lot with parking slots painted in it along aΒ single row. These slots are quite narrow; a compact car can fit in a single slot but an SUVΒ requires two slots. When a car arrives, the parking attendant guides the car to the firstΒ available slot from the beginning of the row into which the car can fit.
For our purpose, cars are numbered according to the order in which they arrive at the lot. ForΒ example, the first car to arrive is given a number 1, the second a number 2, and so on. ThisΒ numbering does not indicate whether a car is a compact or an SUV. The configuration of aΒ parking lot is a sequence of the car numbers in each slot. Each single vacant slot isΒ represented by letter V.
For instance, suppose cars numbered 1 through 5 arrive and park, where cars 1, 3 and 5 areΒ compact cars and 2 and 4 are SUVs. At this point, the parking lot would be described by theΒ sequence 1, 2, 3, 4, 5. If cars 2 and 5 now vacate their slots, the parking lot would now beΒ described as 1, V, V, 3, 4. If a compact car (numbered 6) arrives subsequently followed by anΒ SUV (numbered 7), the parking lot would be described by the sequence 1, 6, V, 3, 4, 7.
Answer the following questions INDEPENDENTLY of each other.
Initially cars numbered 1, 2, 3, and 4 arrive among which 1 and 4 are SUVs while 2 andΒ 3 are compact cars. Car 1 then leaves, followed by the arrivals of car 5 (a compact car)Β and car 6 (an SUV). Car 4 then leaves. Then car 7 (an SUV) and car 8 (a compact car)Β arrive. At this moment, which among the following numbered car is parked next to carΒ 3?
following is the order of arrival and departure of cars

As we can see that car 2 and car 7 are parked next to car 3
Click on the Email βοΈ to Watch the Video Solution
Create a FREE account and get:
Educational materials for CAT preparation
Ask our AI anything
AI can make mistakes. Please verify important information.
AI can make mistakes. Please verify important information.