Interview riddles

simplecleanlogicinterview

You are blindfolded and 10 coins are place in front of you on table. You are allowed to touch the coins, but can't tell which way up they are by feel. You are told that there are 5 coins head up, and 5 coins tails up but not which ones are which. How do you make two piles of coins each with the same number of heads up? You can flip the coins any number of times.
Make 2 piles with equal number of coins. Now, flip all the coins in one of the pile. How this will work? lets take an example. So initially there are 5 heads, so suppose you divide it in 2 piles. Case: P1 : H H T T T P2 : H H H T T Now when P1 will be flipped P1 : T T H H H P1(Heads) = P2(Heads) Another case: P1 : H T T T T P2 : H H H H T Now when P1 will be flipped P1 : H H H H T P1(Heads) = P2(Heads)
72.05 %
51 votes
interviewlogiccleansimple

You are standing before two doors. One of the path leads to heaven and the other one leads to hell. There are two guardians, one by each door. You know one of them always tells the truth and the other always lies, but you don’t know who is the honest one and who is the liar. You can only ask one question to one of them in order to find the way to heaven. What is the question?
The question you should ask is "If I ask the other guard about which side leads to heaven, what would he answer?" It should be fairly easy to see that irrespective of whom do you ask this question, you will always get an answer which leads to hell. So you can chose the other path to continue your journey to heaven. This idea was famously used in the 1986 film Labyrinth. Here is the explanation if it is yet not clear. Let us assume that the left door leads to heaven. If you ask the guard which speaks truth about which path leads to heaven, as he speaks always the truth, he would say "left". Now that the liar , when he is asked what "the other guard (truth teller) " would answer, he would definitely say "right". Similarly, if you ask the liar about which path leads to heaven, he would say "right". As the truth teller speaks nothing but the truth, he would say "right" when he is asked what "the other guard( liar ) " would answer. So in any case, you would end up having the path to hell as an answer. So you can chose the other path as a way to heaven.
71.87 %
101 votes
logicsimplecleverinterviewstory

Betty signals to the headwaiter in a restaurant, and says, "There is a fly in my tea." The waiter says "No problem Madam. I will bring you a fresh cup of tea." A few minutes later Betty shouts, "Get me the manager! This is the same cup of tea." How did she know? Hint: The tea is still hot.
Betty had already put sugar in her tea before sending it back. When the "new" cup came, it was already tasted sweet.
71.67 %
88 votes
interviewlogicsimple

One day a scholar came to the court of Emperor Akbar and challenged Birbal to answer his questions and thus prove that he was as clever as people said he was. He asked Birbal: "Would you prefer to answer a hundred easy questions or just a single difficult one?" Both the emperor and Birbal had had a difficult day and were impatient to leave. "Ask me one difficult question," said Birbal. "Well, then tell me," said the man, "which came first into the world, the chicken or the egg?" "The chicken," replied Birbal, very confidently. "How do you know?" asked the scholar, a note of triumph in his voice. What did Birbal answer to this?
Birbal told the scholar, "We had agreed you would ask only one question and you have already asked it" and he and the emperor walked away leaving the scholar gaping.
71.34 %
95 votes
logicmathstorycleaninterview

You are somewhere on Earth. You walk due south 1 mile, then due east 1 mile, then due north 1 mile. When you finish this 3-mile walk, you are back exactly where you started. It turns out there are an infinite number of different points on earth where you might be. Can you describe them all? It's important to note that this set of points should contain both an infinite number of different latitudes, and an infinite number of different longitudes (though the same latitudes and longitudes can be repeated multiple times); if it doesn't, you haven't thought of all the points.
One of the points is the North Pole. If you go south one mile, and then east one mile, you're still exactly one mile south of the North Pole, so you'll be back where you started when you go north one mile. To think of the next set of points, imagine the latitude slighty north of the South Pole, where the length of the longitudinal line around the Earth is exactly one mile (put another way, imagine the latitude slightly north of the South Pole where if you were to walk due east one mile, you would end up exactly where you started). Any point exactly one mile north of this latitude is another one of the points you could be at, because you would walk south one mile, then walk east a mile around and end up where you started the eastward walk, and then walk back north one mile to your starting point. So this adds an infinite number of other points we could be at. However, we have not yet met the requirement that our set of points has an infinite number of different latitudes. To meet this requirement and see the rest of the points you might be at, we just generalize the previous set of points. Imagine the latitude slightly north of the South Pole that is 1/2 mile in distance. Also imagine the latitudes in this area that are 1/3 miles in distance, 1/4 miles in distance, 1/5 miles, 1/6 miles, and so on. If you are at any of these latitudes and you walk exactly one mile east, you will end up exactly where you started. Thus, any point that is one mile north of ANY of these latitudes is another one of the points you might have started at, since you'll walk one mile south, then one mile east and end up where you started your eastward walk, and finally, one mile north back to where you started.
70.38 %
80 votes
interviewlogicclever

You have 3 jars that are all mislabeled. One jar contains Apples, another contains Oranges and the third jar contains a mixture of both Apples and Oranges. You are allowed to pick as many fruits as you want from each jar to fix the labels on the jars. What is the minimum number of fruits that you have to pick and from which jars to correctly label them?
Let's take a scenario. Suppose you pick from jar labelled as Apples and Oranges and you got Apple from it. That means that jar should be Apples as it is incorrectly labelled. So it has to be Apples jar. Now the jar labelled Oranges has to be Mixed as it cannot be the Oranges jar as they are wrongly labelled and the jar labelled Apples has to be Oranges. Similar scenario applies if it's a Oranges taken out from the jar labelled as Apples and Oranges. So you need to pick just one fruit from the jar labelled as Apples and Oranges to correctly label the jars.
69.55 %
70 votes
cleansimpleinterview

A man is sitting in a pub feeling rather poor. He sees the man next to him pull a wad of £50 notes out of his wallet. He turns to the rich man and says to him, 'I have an amazing talent; I know almost every song that has ever existed.' The rich man laughs. The poor man says, 'I am willing to bet you all the money you have in your wallet that I can sing a genuine song with a lady's name of your choice in it.' The rich man laughs again and says, 'OK, how about my daughter's name, Joanna Armstrong-Miller?' The rich man goes home poor. The poor man goes home rich. What song did he sing?
Happy Birthday.
69.18 %
186 votes
interviewlogiccleanclever

A group of campers have been on vacation so long, that they've forgotten the day of the week. The following conversation ensues. Darryl: "What's the day? I dont think it is Thursday, Friday or Saturday." Tracy: "Well that doesn't narrow it down much. Yesterday was Sunday." Melissa: "Yesterday wasn't Sunday, tomorrow is Sunday." Ben: "The day after tomorrow is Saturday." Adrienne: "The day before yesterday was Thursday." Susie: "Tomorrow is Saturday." David: "I know that the day after tomorrow is not Friday." If only one person's statement is true, what day of the week is it?
Friday.
61.37 %
51 votes
<<<2
CHOOSE ANOTHER >
Page 2 of 2.