December 15, 2009

Crossing the bridge.

Filed under: Google Interview Questions, Math — Jonathan @ 10:51 am

Four people need to cross a rickety rope bridge to get back to their camp at night. Unfortunately, they only have one flashlight and it only has enough light left for seventeen minutes. The bridge is too dangerous to cross without a flashlight, and it’s only strong enough to support two people at any given time. Each of the campers walks at a different speed. One can cross the bridge in 1 minute, another in 2 minutes, the third in 5 minutes, and the slow poke takes 10 minutes to cross. How do the campers make it across in 17 minutes?

Solution in comments.

Advertisements

1 Comment »

  1. 1 and 2 across (2 minutes)
    1 goes back (3 minutes)
    5 and 10 go across (13 minutes)
    2 goes back (15 minutes)
    1 and 2 cross (17 minutes) – and everyone safe and sound

    Comment by cookla — December 15, 2009 @ 10:52 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: