Cisco Systems Interview Question
Software Engineer / DevelopersYou know, you can do this in 19 minutes...
First let 2 and 1 cross the bridge. Time taken 2 mins.
Then have 1 come back. Time taken 1 mins. Total time 3 mins.
When 1 comes back, Have 10 and 5 cross the bridge. Time taken 10 mins. Total 15 mins
Now when 10 and 5 get on the other side. Let 2 come back. Total time taken 17 mins.
Now 2 and 1 can cross again. Time taken 2 mins. Total time 19 mins.
U missed 3... ppl otr sid cost of travel
- sharad February 12, 20071> 1+2 1 comes back => 2 (3)
2> 10+5 2 comes back => 10,5 (12)
3> 1+3 1 comes back => 10,5,3 (4)
4>1+2 =>10,5,3,2,1 (2)
TOTAL : 21