Brain Teasers Interview Questions
- 0of 0 votes
Answers(Don't remember the exact wordings) You have 25 red balls, 47 green balls and 3 blue balls in a basket. What is the minimum number of balls you have to pick to make sure you have at least 2 balls of different colors?
- blue-j January 07, 2012 in United States for Global Foundation Services| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Brain Teasers - -1of 1 vote
AnswersFill in the blanks:
- sunny.sood86 December 31, 2011 in United States-- -- -- H I K L M N T -- -- -- G J O P Q R S
| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersYou have to design a system for finding the run time puncture of a car. Give a robust and simple design.
- harshitj December 22, 2011 in India| Report Duplicate | Flag | PURGE
Amazon Brain Teasers - 0of 0 votes
AnswersThere are 100 prisoners , and a officer of them . Now the officer gave the command to the prisoner that next day they will be going to wear a hat which they will not be know its colour . But its colour will be either Red or Blue . And he says that all the prisoner will be standing in a line . And then the officer will start asking the color of the prisoner one by one from the back . whichever prisoner says the wrong color of his hat ,gets shoot .So now we have to find out wat strategy should the prisoners should apply to safe maximum prisoners .
- raiprince001 December 06, 2011 in India for Bing| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersGiven a m*n matrix and a person is sitting in (0,0) box, and he has to go to the (m-1,n-1) box of the matrix .And the person can only go to right or down box from its current box position . We need to find out the number of ways he can reach from start to destination box .
- raiprince001 December 06, 2011 in India for Bing| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Brain Teasers - 1of 1 vote
AnswersThere are 10 boxes of apples. Each apple in the boxes weights 1 pound, except that one of the boxes contains bad apples, which weights 0.9 pound each. You are given a digital weight (not a scale), and you can take apples out of the boxes. what is the minimum time of weighs to find out which box has bad apples?
- miracle2121 November 23, 2011 in United States
I gave one solution of 3 times using divide and conquer, but the interviewer said that 1 step is possible. So I couldn`t come up with the solution.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
Answers]A shop sells an item in packets of 6, 9, and 17. A customer can buy any number of packets, but a packet cannot be broken up. Provide an efficient algorithm to solve the question "Can I buy N items?". For example, is it possible to buy 29 items? What about 19? Your algorithm simply needs to return true or false.
- gupta5035 October 26, 2011 in India| Report Duplicate | Flag | PURGE
Amazon Developer Program Engineer Brain Teasers - 0of 0 votes
AnswersThree men on their way from San Jose to New jersey by walk, decides to rest under a tree, And all go deep sleep under it. A fourth person who was passing by the tree, wanted to have fun and draws a smiley face on the forehead of all three and leaves. After all three wake up and they start smiling at each other checking out smiley faces on each other. But only one smart one realizes it. How does he realize it??
- einstein.goli October 25, 2011 in United States| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Brain Teasers - 0of 0 votes
Answersgiven a village with demons and a sleeping man, The man is always sleeping ,never wakes up. Now a demon can eat the sleeping man , but after that
- getjar.com/todotasklist my android app October 22, 2011 in -
he will fall asleep , any demon can eat another sleeping demon.
If demons are very smart and would always choose to stay alive than to eat the man and risk their lives.
so if initially there are 65 demons and 1 sleeping man ,, what would happen in the village ???| Report Duplicate | Flag | PURGE
Brain Teasers - 0of 0 votes
AnswersFind the angle between hours hand and minutes hand.
- sasi.baratams October 17, 2011 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere 2 bucket of 3L & 5L. How to measure 4L?
- Harsh123 October 11, 2011 in India| Report Duplicate | Flag | PURGE
Kalido Software Engineer / Developer Brain Teasers - 0of 0 votes
Answersthere are unlimited ropes of same length and if we burn them it will take 1 hour.
- Harsh123 October 11, 2011 in India
How to measure 45 mins?| Report Duplicate | Flag | PURGE
Kalido Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere are four people at the end of bridge. They take following time to cross the bridge:
- Harsh123 October 11, 2011 in India
1st: 1 min
2nd: 2 min
3rd: 7 min
4th: 9 min
Condition:
1. They have only one torch and they can't cross bridge without torch.
2. and only 2 person can cross bridge at a time.| Report Duplicate | Flag | PURGE
Kalido Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersPrint the numbers of form 2^i.5^j in increasing order. For eg:
- controlc September 18, 2011 in India
1, 2, 4, 5, 8, 10, 16, 20| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere are two tumblers one 7 litre tumbler, one 4 litre tumber and ample water. Get 6 liters of water in 7 litre tumbler.
- Sunil bn September 11, 2011 in India| Report Duplicate | Flag | PURGE
Ittiam Systems Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersWhich is greated 3^20 or 2^30
- anshulzunke September 08, 2011 in India| Report Duplicate | Flag | PURGE
Urban Touch Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere are 3 friends say A, B, C. Of them, C knows one of A/B speaks always the truth and the other speaks always lies. One day, all of them meet with a car accident. Unfortunately, both A and B die on the spot, and C joins them a bit late. When C reaches the alien world, he wants to goto heaven. He only sees 2 exits. So, he assumes one exit for heaven and the other exit for hell. He also recognizes both A and B as security guards standing at each of the exits. Now, knowing one of A/B speaks truth and the other lies always, C needs to find way to heaven, by asking only ONE question to each of the security at the exits? How?
- raig August 13, 2011| Report Duplicate | Flag | PURGE
Cloudmere, Inc. Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersRound2: Q1
- Ray July 20, 2011
There is a matrix where the cost of moving horizontally is 1, vertically is 1 and diagonally is 1.1. Now given two points, what is the number of shortest paths between these two points.
Hint: This will boil down to permutation with duplicates. Then he asked to code for this.| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm Brain Teasers - 2of 2 votes
AnswersRound 1: Q2:
- Abee July 20, 2011
Puzzle
Given 25 horses, find the best 3 horses with minimum number of races. Each race can have only 5 horses. You don't have a timer.| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers Highbridge Capital Deshaw Inc - 0of 0 votes
Answers-how many houses are in pleaseanton
- Anon July 06, 2011| Report Duplicate | Flag | PURGE
Autonomy Zantaz System Administrator Brain Teasers - 0of 0 votes
Answers-why are man hole cover round
- Anon July 06, 2011| Report Duplicate | Flag | PURGE
Autonomy Zantaz System Administrator Brain Teasers - 0of 0 votes
Answers-three people, average salary without telling anybody your salary
- Anon July 06, 2011| Report Duplicate | Flag | PURGE
Autonomy Zantaz System Administrator Brain Teasers - 0of 0 votes
Answersgiven an UNSORTED real number array x1,x2,...,xn, how to find the max distance of two neighbouring numbers in the number axis. Is there any method with O(n) time complexity?
- bonism July 04, 2011
see an example
given x[]={2.0,1.0,9.0,-3.5}
then the answer is 7.0, because on the number axis, it is -3.5,1.0,2.0,9.0 from left to right.
distance between two neighbouring numbers are 1-(-3.5),2-1,9-2.
so the answer is 9-2=7| Report Duplicate | Flag | PURGE
Baidu Financial Software Developer Brain Teasers - 0of 0 votes
AnswersGiven two squares on a screen, how do you know if they intersect (the answer is not the obvious one, comparing the x and y values of the sides, I really don't know the goal of the question).
- ZathrasOne June 20, 2011| Report Duplicate | Flag | PURGE
Amazon Quality Assurance Engineer Brain Teasers - 0of 0 votes
AnswersThere are 4 people in a closed room and you are waiting outside to enter into the room. You can enter only when one of them opens the door. The probability that somebody will open the door is 1/2. Now what is the probability that the door will be opened so that you can go inside?
- WgpShashank May 20, 2011| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersWhy manhole make of steel?
- Anonymous May 16, 2011
Why manhole round?| Report Duplicate | Flag | PURGE
AMD Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersImagine there are infinite number of Queens (Chess Game Piece) with u. Find the minimum number of queens required so that every square grid on the chess board is under the attack of a queen. Arrange this minimum no. of Queens on a chess board.
- ilovealgo May 13, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Brain Teasers - 1of 1 vote
AnswersConsider a series in which 8 teams are participating. each team plays twice with all other teams. 4 of them will go to the semi final.How many matches should a team win, so that it will ensure that it will go to semi finals.?
- putta.sreenivas May 11, 2011| Report Duplicate | Flag | PURGE
Amazon Google Developer Program Engineer Software Engineer / Developer Algorithm Brain Teasers