## Brain Teasers Interview Questions

- 0of 0 votes

AnswersThere are 3 guys in a room, persons A, B and C. They are shown a box with 3 black hats and 2 white hats. They are all blindfolded and a random hat is placed on each head. Person A's blindfold is removed and is asked which colour hat he has on - answer is "I don't know". Person B's blindfold is removed and he gives the same answer. Person C answers, without having their blindfold removed, the colour of their hat and they are correct. What colour is person C wearing, and how did he know?

- Murtuza Husain December 15, 2009| Report Duplicate | Flag | PURGE

Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes

AnswersYou have two ropes of equal length and an unlimited supply of matches. The ropes each take 60 minutes to burn, but do not burn uniformly (ie it does not necessarily take 30 minutes to burn half the rope). How do you use the ropes and matches to time 45 minutes?

- Murtuza Husain December 15, 2009| Report Duplicate | Flag | PURGE

Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes

AnswersA gold bar is in 7 segments and you need to cut off a segment and pay a member of staff every day. At the end of each day, they must have one more gold segment than they had the previous day. How do you issue 7 segments over 7 days with the fewest amount of cuts?

- Murtuza Husain December 15, 2009| Report Duplicate | Flag | PURGE

Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes

AnswersYou have 4 bottles each containing pills that weigh 10 grams each and 1 bottle containing pills that weigh 9 grams each, How would you find out the lighter of the 5 bottles by using a Digital Scale just Once?

- Saurabh December 11, 2009

Hint: He asked to open the bottles and take the pills out, and also grouping them wont work.| Report Duplicate | Flag | PURGE

Bloomberg LP Financial Software Developer Brain Teasers C++ - 0of 0 votes

AnswersI have a box full of red, blue and yellow balls. The probability of picking a red ball = probability of picking a blue ball = probability of picking a yellow ball = 1/3. The number of balls is large enough that picking one ball doesnt effect the probabilities. If I pick 3 balls at random from the bag, what is the probability that

- Anonymous November 10, 2009

a) I get all 3 red balls?

b) I get 1 red, 1 blue and 1 yellow ball?| Report Duplicate | Flag | PURGE

Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes

AnswersA man has 3 kids. The product of the ages of the three kids is 36. How will you systematically list out the possible combination s for the ages of the kids, without repetition?

- Anonymous November 10, 2009| Report Duplicate | Flag | PURGE

Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes

AnswersA satellite moving at constant speed can orbit the moon one time in eight hours. After each complete cycle, the satellite instantly reverses direction a quarter of the way back around the moon before immediately continuing forward again for another complete cycle. Beginning in the forward direction above a particular spot of the moon, how many hours does it take the satellite to orbit that spot three times?

- Annonymous.... November 01, 2009

Note: Rotating to the spot and immediately reversing direction does not count. If you are continuing beyond the point, the time immediately over the point is considered the time when you orbit over the spot.

36 Hours

32 Hours

24 Hours

56 Hours

44 Hours| Report Duplicate | Flag | PURGE

Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes

AnswersThree different springs bounce at different frequencies. Spring A bounces off the ground every 2 seconds; Spring B bounces every 5 seconds; and Spring C bounces every 9 seconds. The three springs leave the ground at the same time and continue bouncing until eventually the three springs, one by one, bounce during a three consecutive second interval. Upon the second and third such intervals, respectively, which spring makes the third bounce?

- Annonymous.... November 01, 2009

Note: Springs must bounce in 3 consecutive seconds (A,B,C/B,A,C/C,B.A/etc/etc), but more than 1 spring can bounce at the same time for it still to count. (A,B,C&A is acceptable. A&C, 0, B is not).

Springs A and C

Springs A and A

Springs C and A

Springs C and C

Springs B and A| Report Duplicate | Flag | PURGE

Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes

AnswersGiven a puzzle that there are n statements such that each ith statement says that that many statements are false. Identify the number of true statements for a given N statements.

- pavan October 13, 2009| Report Duplicate | Flag | PURGE

Amazon Software Engineer in Test Brain Teasers - 0of 0 votes

AnswersThere are given n men and n women.

- pirateMaster September 23, 2009

Each woman ranks all men in order of her preference

(her first choice, her second choice, and so on).

Similarly, each man sorts all women according to

his preference. The goal is to arrange n

marriages in such a way that if a man m

prefers some woman w more than his wife, and w prefers m more then her husband a new marriage occurs between w and m. If w prefers her husband more, then she stays married to him. This problem always has a solution and your task is to find one.| Report Duplicate | Flag | PURGE

Yahoo Software Engineer / Developer Brain Teasers - -1of 1 vote

Answerssomeone walks into your room and dumps a huge bag of quarters all over the floor. they spread them out so no quarters are on top of any other quarters. a robot then comes into the room and is programmed such that if it sees a head, it flips it to tails. if it sees a tail, it throws it in the air. the robot moves around randomly forever. will there be a convergence in distribution of heads vs. tails?

- cunomad September 19, 2009| Report Duplicate | Flag | PURGE

Epic Systems Brain Teasers - -1of 1 vote

AnswersYou are at a party with a friend and 10 people are present including you and the friend. your friend makes you a wager that for every person you find that has the same birthday as you, you get $1; for every person he finds that does not have the same birthday as you, he gets $2. would you accept the wager?

- cunomad September 19, 2009| Report Duplicate | Flag | PURGE

Epic Systems Brain Teasers - 0of 0 votes

Answersyou can go to a fast food restaurant to buy chicken nuggets in 6-pack, 9-pack or 20-packs. is there such a number N, such that for all numbers bigger than or equal to N, you can buy that number of chicken nuggets?

- cunomad September 19, 2009| Report Duplicate | Flag | PURGE

Epic Systems Brain Teasers - 0of 0 votes

Answersoil mogul aha:!

- cunomad September 19, 2009

you are an oil mogul considering the purchase of drilling rights to an as yet unexplored tract of land.

the well's expected value to its current owners is uniformly distributed over [$1..$100]. (i.e., a 1% chance it's worth each value b/w $1..$100, inclusive).

bcause you have greater economies of scale than the current owners, the well will actually be worth 50% more to you than to them (but they don't know this).

the catch: although you must bid on the well before drilling starts (and hence, before the actual yield of the well is known), the current owner can wait until *after* the well's actual value is ascertained before accepting your bid or not.

what should you bid?| Report Duplicate | Flag | PURGE

Epic Systems Brain Teasers - 0of 0 votes

Answershree light bulbs and three switches. Identify each switch with its bulb.

- CUNOMAD August 24, 2009

There is a room with a door (closed) and three light bulbs. Outside the room there are three switches, connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you can't change them. Identify each switch with its bulb.| Report Duplicate | Flag | PURGE

Microsoft Brain Teasers - 0of 0 votes

AnswersIf you could remove any of the 50 states, which state would it be and why?

- cunomad August 24, 2009| Report Duplicate | Flag | PURGE

Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes

Answersin a country in which people only want boys, every family continues to have children until they have a boy. if they have a girl, they have another child. if they have a boy, they stop. what is the proportion of boys to girls in the country?

- cunomad August 23, 2009| Report Duplicate | Flag | PURGE

Microsoft Brain Teasers - 0of 0 votes

AnswersA chinese emperor had to choose a new adviser amongst 3 sages, all of them equally wise. He placed a problem to them: "To choose one of you, you'll play a simple and fair game: In this sack there are 3 white balls and 2 black balls. Each of you will be blindfolded and will pick one ball and place it on your head. After that, the blindfolds will be removed and each one in turn will try to guess the colour of the ball upon his head, by observation of the other picked balls. However, beware. You may pass your turn in guessing, but if you state a colour and fail, you're disqualified. This way I'll learn which one is the most intelligent amongst you" The sages talked briefly to each other and promptly refused: "Dear lord, it's of no use, since the game is not fair. The last one of us to guess in the first round will know the answer." and the sages promptly demonstrated this to the emperor, who was so amazed by their wits that he appointed all 3 has his advisers. Could you demonstrated it ? NOTE: If the emperor had any wits at all he would have named them all advisers in the first place... maybe spending reduction ? :)

- Anonymous August 23, 2009| Report Duplicate | Flag | PURGE

Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes

Answersarrange the numbers 1 to 8 in the grid below such that adjacent numbers are not in adjacent boxes (horizontally, vertically, or diagonally).

- arrogantpiyush August 23, 2009

___

| 1 |

=============

| 6 | 4 | 3 |

=============

| 2 | 7 | 5 |

=============

| 8 |

=====

the arrangement above, for example, is wrong because 3 & 4, 4 & 5, 6 & 7, and 7 & 8 are adjacent.| Report Duplicate | Flag | PURGE

Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes

Answersyou have 12 coins. one of them is counterfeit. all the good coins weigh the same, while the counterfeit one weights either more or less than a good coin. your task is to find the counterfeit coin using a balance-scale in 3 weighs. moreover, you want to say whether the coin weighs more or less

- arrogantpiyush August 23, 2009

than is should and, and this is the real kicker, your weighs must be non-adaptive. that is, your choice of what to put on the balance for your second weigh cannot depend on the outcome of the first weigh and your decision about what to weigh for round 3 cannot depend on what happened on either your first or second weigh. for example, you can't say something like "take coin #1 and coin #2 and weigh them. if they balance, then take coins 3,4,5 and weight them against 6,7,8...if 1 and 2 don't balance, then weigh #1 vs #12..." you

have to say something like:

round #1: do this

round #2: do this

round #3: do this

if the results are left tilt, balanced, and left tilt, respectively, then coin #11 is heavier than it should be.| Report Duplicate | Flag | PURGE

Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes

AnswersHow many wedding dresses were sold in italy last year ?

- CUNOMAD August 23, 2009| Report Duplicate | Flag | PURGE

Microsoft Software Engineer in Test Brain Teasers - 0of 0 votes

AnswersGiven two robots on an infinite line, they can move left or right. They cannot see each other. There is a marker between them that they can detect if they touch it. What algorithm will allow the bots to find each other (anywhere), if both bots are running the exact same algorithm?

- Joe Shmoe August 19, 2009

You could have the bots go right then left in ever increasing distance. They will eventually find the marker. They could then stop and await the arrival of the other bot, or increase speed in that direction to catch up to it faster.

If the bots may only pick one direction and not change it, then they each pick, say, right, and move slowly until the marker is found, then increase speed to catch up to the other bot.| Report Duplicate | Flag | PURGE

Chegg.com Consultant Brain Teasers - 1of 1 vote

AnswersThere were 3 racers A, B and C. When A finished the race, B was 8 mts behind A and C was 16 mts behind A. When B finished the race, C was 10 mts behind B. Assuming that three of them ran at constant speed, find the length of the track.

- Samwise August 09, 2009| Report Duplicate | Flag | PURGE

Google Software Engineer / Developer Brain Teasers - 0of 0 votes

Answerswhat s next in this series

- saravan06psgtech August 08, 2009

sss,scc,c,sc,?????.| Report Duplicate | Flag | PURGE

Amazon Analyst Brain Teasers - 0of 0 votes

Answers35 cents is paid by two coins one is not a dime. What are the two coins?

- Anonymous July 31, 2009| Report Duplicate | Flag | PURGE

Epic Systems Software Engineer / Developer Brain Teasers - 0of 0 votes

AnswersYou are participating in a game show in which a prize is hidden behind one of the 3 doors. you ll win the prize if u select the correct door. After u have selected a door the host opens a door which doesnt have the prize. he asks u whether u ll go for a switch?? What are ur chances of winning if u go for a switch?? what are the chances if u dont go??

- Madhan July 16, 2009| Report Duplicate | Flag | PURGE

Amazon Software Engineer / Developer Brain Teasers - 0of 0 votes

AnswersGiven a time what is the difference between the hour hand and minute hand.

- Viswanatha Reddy June 06, 2009| Report Duplicate | Flag | PURGE

Amazon Software Engineer / Developer Brain Teasers

**CareerCup**is the world's biggest and best source for software engineering interview preparation. See all our resources.

Open Chat in New Window