Here is an example of a brainteaser during the interview: You have five pirates, ranked from 5 to 1 in descending order. The top pirate has the right to propose how 100 gold coins should be divided among them. But the others get to vote on his plan, and if fewer than half agree with him, he gets killed. How will the coins end up being divided, assuming all the pirates are rational and want to end up alive?
If the pirates are RATIONAL- then they would all agree with taking just 20 coins a peice and splitting it evenly. That is the short and sweet answer. Unfortunately these nerd interviewers may prefer a pointlessly long and drawn out answer to demonstrate your irrelevant mathematical reasoning skills/ability In which case you may answer with the following Give one coin each to the 2 lowest ranked pirates. and split the remaining between the top 3( Maybe 32 for the top pirate and 33 for pirate 2 and 3 ). The bottom 2 will certainly vote against you- but now atleast you are increasing your odds of the other 2 pirates agreeing with the plan. ( which are the 2 minimum votes needed for pirate one to survive) Obvious explanation If there are 5 pirates, one comes up with the plan and the other 4 vote. If fewer then half agree with the top pirate- he gets killed. That means if less than 2 agree he would get killed. He need at the minimum 2 pirates to agree with him to live.
the answer isnt that obviouse.....you give the 3rd and 1st one coin and keep 98....start at the beginning. if theres 2 pirates, 100 for 2, 0 for 1 (one doesnt like this) If there is three 1 will be happy with just a single coin, b/c he does not want it to go down to 2. If there is 4 pirates, 2 will be happy with a single coin, b/c he does not want it to get down to 3 pirates where he will receive 0. So he gets 1 and 4 gets 99. At 5 it changes a bit. Here 1 and 3 will be happy with single coins b/c if it goes down to 4 they will receive 0 coins. So 5 takes 98, and 1 and 3 take 1 one each
I have 10 cards face-down numbered 1 through 10. We play a game in which you choose a card and I give you the corresponding dollar amount. a) What is the fair price of this game? b) Now, after picking a card you can either take the dollar value on the card or $3.50. Also, cards worth less than 5 are now valued at $0. What is the maximum price you are now willing to pay for the game?
You can host a party if there is no rain on either Saturday or Sunday. The probability of it raining on a Saturday is 80% and the chance of it raining on Sunday is 60%. What is the probability there is a party on the weekend? Given that you had a party over the weekend, what is the probability that that it rained at the weekend?