Interview Riddles

Interview riddles are famous questions asked during interviews by some big companies like Google, Microsoft, Intel etc.

4 Criminals

4 criminals are caught and are to be punished. The judge allows them to be freed if they can solve a puzzle. If they do not, they will be hung. They agreed.

The 4 criminals are lined up on some steps (shown in picture). They are all facing in the same direction. A wall separates the fourth man from the other three.

4 criminals

So to summarise :
Man 1 can see Man 2 and Man 3.
Man 2 can see Man 3.
Man 3 can see none of the others.
Man 4 can see none of the others.

The criminals are wearing hats. They are told that there are two white hats and two black hats. The men initially don’t know what colour hat they are wearing. They are told to shout out the colour of the hat that they are wearing as soon as they know for certain what colour it is.

They are not allowed to turn round or move. They are not allowed to talk to each other. They are not allowed to take their hats off.

Who is the first person to shout out and why?

Riddle Answer

25 Horses

There are 25 horses and you need to figure out the 3 fastest horses by placing them into races. You can race 5 horses at a time. Each horse always finishes the race in the same amount of time and there are no ties. The only information you get from each race is the order that the 5 horses finished in. You will not get any information regarding the time taken for the horses to complete the race.

What is the smallest number of races you need to find the 3 fastest horses in order?

Riddle Answer