Hewlett-Packard

  www.hp.com
  www.hp.com

Interview Question

Software Design Engineer Interview Fort Collins, CO

A logical math problem involving a rowboat, a lake, and a

  lion that can go 3x as fast as the boat. The question was whether or not I could make it to the shore.
Answer

Interview Answer

2 Answers

0

The interest was in how I went about solving the problem. I wrote a couple simple equations to model my movement relative to the movement of the lion, including his speed advantage. I initially said no, that I couldn't, but then paused and thought about it more, and decided that yes I eventually could make it to shore.

Interview Candidate on Jun 29, 2010
1

take the oar out of the rowboat and smash the lion's head with it when he gets close. Once the lion is incapacitated, you can row to shore at your leisure.

Here's what you do... on Jul 2, 2010

Add Answers or Comments

To comment on this Question, Sign In with Facebook or Sign Up