- Joined
- Dec 21, 2001
- Messages
- 106,648
- Reaction score
- 1,966
- Points
- 113
I was reading up on possible interview questions and came up with something you guys might enjoy
Goal : To get everyone on the other side of the bridge fast as you can.
There are four people on one side.
- only one~two people can cross the bridge at a time.
- there is one flashlight and one of the people that's crossing the bridge must be carrying it.
- Each person crosses the bridge at different speeds. One person takes 1 minute, another takes 2 minutes, another takes 5 minutes, and another takes 10 minutes.
- If two people are crossing the bridge at the same time, the faster person must go at the rate of the slower person.
How fast can you get them all across the bridge?
- 1 minute walker
- 2 minute walker
:tongue: - 5 minute walker
- 10 minute walker
Goal : To get everyone on the other side of the bridge fast as you can.
There are four people on one side.
- only one~two people can cross the bridge at a time.
- there is one flashlight and one of the people that's crossing the bridge must be carrying it.
- Each person crosses the bridge at different speeds. One person takes 1 minute, another takes 2 minutes, another takes 5 minutes, and another takes 10 minutes.
- If two people are crossing the bridge at the same time, the faster person must go at the rate of the slower person.
How fast can you get them all across the bridge?
- 1 minute walker
- 2 minute walker
:tongue: - 5 minute walker
- 10 minute walker