02-07-2017, 05:58 PM
(This post was last modified: 02-07-2017, 06:05 PM by SunilNagpal.
Edit Reason: adding funny possibilities
)
My bad .. I agree with you guys...it's a simple case, better not make it tough one...
but pardon my curiosity of digging deep into the possibilities, what about following cases
10 (truck) + 5 (car) + 15 (gap) -------- (repeat)
i.e
10 (truck) + 5 (car) + 15 (gap) + 10 (truck) + 5 (car) + 15 (gap) +10 (truck) + 5 (car) + 15 (gap) +10 (truck) + 5 (car) + 15 (gap) ..................
This leaves at least 20m distance between two trucks and minimum 15 between two cars...?
And another funny curiosity: "What if the bridge was very long (say > 36km)....in such a scenario, no one would ever "cross" it
but pardon my curiosity of digging deep into the possibilities, what about following cases
10 (truck) + 5 (car) + 15 (gap) -------- (repeat)
i.e
10 (truck) + 5 (car) + 15 (gap) + 10 (truck) + 5 (car) + 15 (gap) +10 (truck) + 5 (car) + 15 (gap) +10 (truck) + 5 (car) + 15 (gap) ..................
This leaves at least 20m distance between two trucks and minimum 15 between two cars...?
And another funny curiosity: "What if the bridge was very long (say > 36km)....in such a scenario, no one would ever "cross" it