Sponsored Ad

Tuesday, May 24, 2011

4 people Cross the Bridge with a Flash Light - Technical Interview Puzzle

 

Puzzle description: There is 4 people and they have to cross a bridge. Person 1 takes 1 min to cross the bridge, Person 2 takes 2 min, Person 3 takes 5 min and person 4 takes 10 min to cross the bridge. They have 1 flashlight and need to cross a bridge in the minimum amount of time. at a time max two persons can move on the bridge?

4 people Cross the Bridge with a Flash Light - Technical Interview Puzzle

Puzzle Solution:

Person 1 + Person 2 cross the bridge = 2 min

Person 1 returns = 1 min

person 3 + person 4 cross the bridge = 10 min

person 2 returns =  2 min

person 1 + person 2 cross the bridge  = 2 min

Total Time taken = 2 + 1 + 10 + 2 + 2  = 17 min

Picture Source: goo.gl/WHApi

No comments:

Post a Comment

Sponsored Ad

Followers

Follow Us