Engineers Interview Questions

898,759 engineers interview questions shared by candidates

You're the captain of a pirate ship, and your crew gets to vote on how the gold is divided up. If fewer than half of the pirates agree with you, you die. How do you recommend apportioning the gold in such a way that you get a good share of the booty, but still survive?
avatar

Google.com Engineering Manager

Interviewed at Google

4.4
May 10, 2009

You're the captain of a pirate ship, and your crew gets to vote on how the gold is divided up. If fewer than half of the pirates agree with you, you die. How do you recommend apportioning the gold in such a way that you get a good share of the booty, but still survive?

given the output from the first question write a algorithm to calculate how many possible inputs could have created that output. for example. "1211" could be interpreted as one two and one one || one hundred and twenty one ones.
avatar

Software Engineer

Interviewed at Dropbox

3.8
Nov 5, 2011

given the output from the first question write a algorithm to calculate how many possible inputs could have created that output. for example. "1211" could be interpreted as one two and one one || one hundred and twenty one ones.

Viewing 361 - 370 interview questions

Glassdoor has 898,759 interview questions and reports from Engineers interviews. Prepare for your interview. Get hired. Love your job.