Brain teaser Interview Questions | Glassdoor

Brain teaser Interview Questions


interview questions shared by candidates

Brain teaser Interview Questions

Sort: RelevancePopular Date

How many bottles of shampoo are produced in the world a year?

25 Answers

An abstract question about ways to simulate behavior of workers who move stools around a workspace in some controlled way, and what the expected results would be.

12 Answers

Write a function Brackets(int n) that prints all combinations of well-formed brackets. For Brackets(3) the output would be ((())) (()()) (())() ()(()) ()()()

11 Answers

Suppose we hire you, and you and the rest of the new interns decide to go buy a cup of coffee. Each intern purchases one cup of coffee. One of the interns suggests everyone play a game. Everyone will flip a fair coin, dividing the group of interns into two subgroups: those that got heads and those that got tails. The game is this: whichever group is smaller evenly splits the cost of everyone's cup of coffee (i.e. if there are 5 interns, 3 get H, 2 get T, then the two interns that got tails each buy 2.5 cups of coffee). However, nothing says you need to play this game. You can choose to buy your own cup of coffee and not play the game at all. The question: Should you play this game? (Note: You may assume that there is an odd number of interns, so there are no ties, and that if everyone gets H or everyone gets T, then everyone loses and just buys their own cup of coffee).

18 Answers

Let's say you have 10 bags of nails, and each nail weights 10g. You also have a scale upon which you can weigh a combination of the bags or nails from the bags once. You know that one of the bags is off by a certain amount of grams, but you don't know which bag or by how much. How do you find out, with one weighing, which bag it is?

10 Answers

What is the square root of .01?

8 Answers

How many trailing zeros are in the number 5! (5 factorial)?

9 Answers

You are on a game show. There are three doors, behind one of which is a prize and the other two is a chunk of coal, and the host knows which door holds the prize. You choose door #1. Before it is opened, the host opens door #3 and reveals a lump of coal. You have the choice to stick with the door you chose originally or switch to door #2. What do you do?

16 Answers

You are in a room with 3 switches which correspond to 3 bulbs in another room and you don't know which switch corresponds to which bulb. You can only enter the room with the bulbs once. You can NOT use any external equipment (power supplies, resistors, etc.). How do you find out which bulb corresponds to which switch?

6 Answers

What was the hardest thing you ever had to do in your prior work experience?

7 Answers
3140 of 952 Interview Questions