As number of parcels which are loaded and unloaded at different stations are different. The number of parcels loaded or unloaded at a station should be 1 or 2 or 3 or 4.According to the given conditions the loading and unloading at different station is as follows.
StationsLoaded ParcelsUnload Parcels A101, 104, 105, 107
B 108 105 C
102, 106, 101 D 103
E
108
Two of 101, 104, 105, 107 are unloaded at D. They are 104 and 107. As 102 and 106 are unloaded at C. They must have been loaded at B.So, 109 and 110 should have been loaded at C.As one parcel is unloaded at B, three are unloaded at C, two at D, four must have been unloaded at E.So, they are 108, 103, 109 and 110.The final order of loading and unloading is as follows.
StationsLoaded ParcelsUnloaded Parcels A101, 104, 105, 107 --- B 108, 102, 106 105 C 109, 110 102, 106, 101 D 103 104, 107 E ---103, 108, 109, 110
104 and 107 travel through the maximum number of intermediary stations.
Submit Comment/FeedBack