Ibm Interview Puzzles
-
There are (n+1) people in a party, they might or might not know each others names.
There is one celebrity in the group(total n +1 people), celebrity does not know any of n peoples by name and all n people know celebrity by name.
You are given the list of people’s names(n+1), You can ask only one question from the people. Do you know this name ?
How many maximum number of questions you need to ask to know the celebrity name?
View SolutionSubmit Solution- 1,597.5K views
- 1 answers
- 0 votes
-
You are trying to cook an egg for exactly fifteen minutes, but instead of a timer, you are given two ropes which burn for exactly 1 hour each. The ropes,are of equal densities. How can you cook the egg for exactly fifteen minutes?
View SolutionSubmit Solution- 1,597.8K views
- 2 answers
- 0 votes
-
This is the most commonly asked interview puzzle.
You have 3 jars that are all mislabeled. One jar contains Apple, another contains Oranges and the third jar contains a mixture of both Apple 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?
View SolutionSubmit Solution- 1,601.0K views
- 1 answers
- 0 votes