Technical Interview

Added Recently
Data Structures
Google & Microsoft
C/C++ Questions
Java Interview Questions
Quantitative Problems
Featured Articles
Amazon Interview Question
Compaq Interview Question
Technical Interview
Interview Process
Introduction Questions
Object Oriented
Google Pages
Fundamental Questions
Resume Tips
Contact Us
Submit Question/Answer


This section contains large collection of interview puzzles and their answers with clear description from real interviews.
You may check the puzzle blog to post new puzzles and answers.

  • Duplicate Lottery Picks: In the Massachusetts Megabucks lottery, six different numbers from 1 to 42 (inclusive) are selected...

  • The Flawed Game: A teacher was having trouble getting her students to learn their facts, but she noticed that her students...

  • 5 houses in 5 colors: This puzzle was apparently written by Einstein in the last century. He said that 98% of the people in the world...

  • One gold bar: You have someone working for you for seven days and you have one gold bar to pay...

  • Life or Death? The Emperor's Proposition: you are a prisoner sentenced to death. The Emperor offers you...

  • Birthday Line: At a movie theater, the manager announces that they will give a free ticket...

  • Russian Roulette: You are in a game of Russian Roulette with a revolver that has 3...

  • Teddy Bears Puzzle: he game starts when I give you some bears. You can then give back some bears...

  •  Who is taller: 500 men are arranged in an array of 10 rows and 50 columns according to their heights...

There are four people who want to cross a bridge; they all begin on the same side. You have 17 minutes to get them all across to the other side. It is night, and they have one flashlight. A maximum of two people can cross the bridge at one time. Any party that crosses, either one or two people, must have the flashlight with them. The flashlight must be walked back and forth; it cannot be thrown, for example. Person 1 takes 1 minute to cross the bridge, person 2 takes 2 minutes, person 3 takes 5 minutes, and person 4 takes 10 minutes. A pair must walk together at the rate of the slower person’s pace. For example, if person 1 and person 4 walk across first, 10 minutes have elapsed when they get to the other side of the bridge. If person 4 returns the flashlight, a total of 20 minutes have passed and you have failed the mission.

A census taker approaches a house and asks the woman who answers the door "How many children do you have, and what are their ages?"

Woman: "I have three children; the product of their ages is 36, the sum of their ages is equal to the address of the house next door."

The census taker walks next door, comes back and says "I need more information."

The woman replies "I have to go; my oldest child is sleeping upstairs."

Census taker: "Thank you, I now have everything I need."

What are the ages of each of the three children?

A man has to get a fox, a chicken, and a sack of corn across a river.

He has a rowboat, and it can only carry him and one other thing.

If the fox and the chicken are left together, the fox will eat the chicken.

If the chicken and the corn are left together, the chicken will eat the corn.

How does the man do it?

You have 12 balls identical in size and appearance but one is an odd weight (it could be either light or heavy).

You have a set of scales which will give three possible readings: Left = Right, Left > Right or Left < Right (I.E Left and
Right have equal weight, Left is Heavier, or Left is Lighter).

You have only three chances to weigh the balls in any combination using the scales. Determine which ball is the odd one and if it's heavier or lighter than the rest. How do you do it?

You are in the dark, and on the floor there are six shoes of three colors, and a heap of twenty-four socks, black and brown. How many socks and shoes must you take into the light to be certain that you have a matching pair of socks and a matching pair of shoes?

There are three playing cards lying face up, side by side. A five is just to the right of a two. A five is just to the left of a two. A spade is just to the left of a club, and a spade is just to the right of a spade. What are the three cards?


  A. The number of false statements here is one.

B. The number of false statements here is two.

C. The number of false statements here is three.

D. The number of false statements here is four.

Which of the above statements is true?


 What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first and second, and the last is three times the second?


 One train runs from A to B at 105 miles per hour; the other runs from B to A at 85 miles per hour. How far apart were the two trains 30 minutes prior to their crossing?


 Assume 9 is twice 5; how will you write 6 times 5 in the same system of notation?


The following verse spells out a word, letter by letter. "My first" refers to the word's first letter, and so on. What's the word that this verse describes?
My first is in fish but not in snail
My second in rabbit but not in tail
My third in up but not down
My fourth in tiara not in crown
My fifth in tree you plainly see
My whole a food for you and me



Bill, Ken, and Mark are, not necessarily in this order, a quarterback, a receiver, and a kicker. The kicker, who is the shortest of the three, is a bachelor. Bill, who is Ken's father-in-law, is taller than the receiver.

Who plays in which position?


Three spies, suspected as double agents, speak as follows when questioned:

Albert: "Bertie is a mole."
Bertie: "Cedric is a mole."
Cedric: "Bertie is lying."

Assume that moles lie, other agents tell the truth, and there is just one mole among the three; determine:

1.) Who is the mole?
2.) If, on the other hand, there are two moles present, who are they?


Given twelve marbles, identical in size, shape and color, which single marble is heavier in weight than the others? You are supplied with a balance and must conclude your determination using the  balance three times only.