Brain Teasers Interview Questions
- 0of 0 votes
AnswersWe have a rectangle
- gamodg November 11, 2010
It is divided in eight parts by three vertical and one horizontal line so that there are 8 chambers.
Now we have numbers from 1-8 to be filled in these chambers.
Rule : No two consecutive numbers must be present either side to side or diagonal
Invalid situation example
Given 5 at position 2 then 4 cannot occur at any of the give position.
4 5 4
_ _ _ _
4 4 4
_ _ _ _| Report Duplicate | Flag | PURGE
Safenet Developer Program Engineer Brain Teasers - 0of 0 votes
AnswersTwo people are travelling through flight. Both have parachute and jump anywhere randomly i.e none of them knows who has jumped where.(Assume there's a big desert and they jump at any random location). Now, both of them have a single piece of paper on which they can write instructions before jumping and that's the only way they can meet each other. What would they write on paper before jumping ?
- omkar November 02, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers - 0of 0 votes
Answerswhat is the output of
- narendra.gov October 31, 2010
for(;0;)
printf("\n guess");
and why?| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers C Coding Debugging Algorithm - 0of 0 votes
AnswersGiven bucket of jelly beans 16 red, 32 blue, 48 yellow. How many do you have to pick to have two of same color?
- Reddy October 21, 2010| Report Duplicate | Flag | PURGE
Software Engineer / Developer Brain Teasers - 0of 0 votes
Answersgiven eight 8s: 8 8 8 8 8 8 8 8, add any number of "+"s between the 8's to make the sum equals 1000.
- Anonymous October 16, 2010| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Brain Teasers - -1of 1 vote
Answersgiven 5/2=3, what will be the output of 10/3?
- Anonymous October 16, 2010| Report Duplicate | Flag | PURGE
Microsoft Software Engineer / Developer Brain Teasers - 0of 0 votes
Answers49 race cars and no two have the same speed. Now give you 7 tracks with equal length to find the 25th fastest car. At least how many races are needed.(no time recorder)
- Hai.Vincent October 14, 2010| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersGiven a triangle you need to divide it in 7 equal non overlapping triangles
- Kyon Bataoon October 14, 2010| Report Duplicate | Flag | PURGE
Flipkart Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersA company produces play ball of weights 0-25kg, 25-50kg, 50-75kg, 75-100kg. You need to put the balls in four different buckets daily depending on the number of ball company produces.BucketA (0-25kg), BucketB (25-50kg), BucketC (50-75kg) and BucketD(75-100kg).
- Amazon October 03, 2010
A scale is provided on which you can weigh only 1 ball at a time which has a bulb. If the weight of the ball matches the scale category, the bulb will light up otherwise it will be OFF. e.g. If scale is marked to measure 10-25 kg, then any ball between 10 to 25kg (inclusive 10 and 25) will switch on the bulb and say if you weigh 26 it wont switch on the bulb. The cost of scale is 1 million dollar.
Question: You need to find the minimum number you will use to do the job.Also what is weight category you will choose for the scales to do the job.| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere is a blank disc. You are given two colors of paint (black and white) . A sensor can recognize the color
- gullu September 12, 2010
painted on the disc and produce an output. Paint the disc in a way such that you can find the direction of
rotation by looking at the output (BWBWBWBW... etc). Find the minimum number of sectors you will need to paint| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere are four dogs, each at the counter of a large square. Each of the dogs begins chasing the dog
- gullu September 12, 2010
clockwise from it. All of the dogs run at the same speed. All continously adjust their direction so that
they are always heading straight towards their clockwise neighbor. How long does it take for the dogs to
catch each other? Where does this happen? (Hint: Dog’s are moving in a symmetrical fashion, not along the
edges of the square).| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersA man has two paper cubes on his desk. Every day he arranges both cubes so that the front faces show
- gullu September 12, 2010
the current day of the month. What numbers are required on the faces of the cubes to allow this for all
possible days in the calendar?| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersA band is going in the street with a constant speed. Someone in the last row has a dog. The dog runs
- gullu September 12, 2010
ahead, reaches the front row of the band and gets back to it's owner. The dog's speed was constant all
the way and while it was running the band passed 50 feet. Find the length of the dog's path,if the
distance between the front and the rear row of the band is 50 feet.| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 1of 1 vote
AnswersThere are 100 doors in a row that are all initially closed. You make 100 passes by the doors starting
- gullu September 12, 2010
with the first door every time. The first time through you visit every door and toggle the door
(if the door is closed, you open it, if its open, you close it). The second time you only visit
every 2nd door (door #2, #4, #6). the third time, every 3rd door (door #3, #6, #9), etc, until you
only visit the 100th door. What is the state of each door after the last pass?| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere is a temple, whose premises have a garden and a pond. It has 4 idols, each of Ram, Shiv,
- gullu September 12, 2010
Vishnu and Durga. The priest plucks x flowers from the garden and places them in the pond. The number of flowers
doubles up, and he picks y flowers out of them and goes to offer it to Lord Ram. By the time he reaches
to the pond, he finds the remaining flowers also have doubled up in the meantime, so he again picks up y
from the pond and goes to Lord Shiv.This process is repeated till all the Gods have y flowers offered to them,
such that in the end no flower is left in the pond. Find x and y.| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswerGiven ships travel between points A and B, one every hour leaving from
- gullu September 12, 2010
both ends (simultaneously), how many ships are required (minimum), if the
journey takes 1hr 40 mts. How many ships does each ship encounter in its
journey, and at what times?
Ans 4, 3 at 20 mts, 50 mts and 80 mts.| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersA car has speed of 72 64 56 in downhill, plain and uphill respectively . A guy travels in the car from
- gullu September 12, 2010
Pt. A to pt. B in 4 Hrs and pt. B to pt. A in 4 Hrs and 40 min. what is the distance between A and B?| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersWrite a method that returns 40% A, 50% B and 10% C.
- abcd August 13, 2010| Report Duplicate | Flag | PURGE
EMC Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersHow will you go about implementing google suggest kind of functionality for a cellphone
- Anonymous August 08, 2010| Report Duplicate | Flag | PURGE
Highbridge Capital Front-end Software Engineer Brain Teasers - 0of 0 votes
AnswersHow would you test a toaster?
- Anonymous August 04, 2010| Report Duplicate | Flag | PURGE
NetApp Testing / Quality Assurance Brain Teasers - 0of 0 votes
AnswersA Jar
- Siva July 15, 2010
A fly that replicates at 1:2 (One fly becoming 2}
Takes a minute for replication.
If the jar is filled(100%) in 60 Mins.
At what time it will be filled with 75%.| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Brain Teasers - 0of 0 votes
Answers[2] There is a bank which give the 100% rate of interest (annual). you have 1 dollar today with you and you deposit that in the bank.
- Appy June 29, 2010
after how much time would you become the richest man.| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersHow would you develop code for a system with potentially 10,000 different integer cases? For instance, using credit card numbers the range of 0-25,000 would be MC, then 30,000-50,000 would be AMX, and so forth. There could be 10,000 types of cards though.
- Joe June 23, 2010| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Brain Teasers - 0of 0 votes
Answershow do you find the shortest distance (find a formula) for two points on the opposite vertices of a cube (shortest distance is actually sqrt(3) but can't cut through interior, must go along surface of cube)
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
Answers8 ball question with a 9 ball variation. don't know if ninth ball is lighter or heavier (max 3 weighings).
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 1of 1 vote
Answershow would you create the index for a book
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
Answers3 ants are on different vertices of an equilateral triangle and can walk along the edges to any other vertex. what's the probability that any 2 of them will collide
- Anonymous June 16, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers