here is a lane that stores 10 factory-produced cars.
The team is divided.
(ㅁ below represents the car, and _____ means empty space.)
1. a team that brings a car to the lane
▶ 1. ㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁ
2. a team that transfers the car from the lane to another location
▶ 2. ㅁㅁㅁㅁㅁ_______________
3. a team that transfers the remaining car to the front end of the lane
▶ 3. ____________ㅁㅁㅁㅁㅁ
If you imagine the problem, if the other team takes a few cars after stopping in the lane, the car stopped in the back has to move back to the front end of the lane to get the car back in the lane.
How can it be implemented?
(All cars are transported by humans.)