Pirate Problem In Interview Question

Posted by Hafiz on Programmers See other posts from Programmers or by Hafiz
Published on 2012-04-13T23:52:22Z Indexed on 2012/04/14 5:40 UTC
Read the original article Hit count: 351

Filed under:
|

Some one asked me this question in an interview, so I want to know that what can be technical or algorithmic or strategical solution can we provide?

If I am a leader of Pirates who looted 100kg gold, now every pirate has 1 bullet in gun and every pirate wants to get each other's share. They are 5 in number including me. So what strategy I will use to get to kill others while being safe or is there way to decrease probability?

© Programmers or respective owner

Related posts about interview

Related posts about General