The Wayback Machine - https://web.archive.org/web/20240731155701/https://www.geeksforgeeks.org/puzzle-the-einsteins-puzzle/
Open In App

Puzzle | The Einstein’s Puzzle

Last Updated : 22 Feb, 2023
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report

Einstein’s puzzle is a famous logic puzzle that was supposedly created by Albert Einstein as a boy. The puzzle goes as follows:

There are five houses in a row, each with a different color. In each house lives a person of a different nationality. The five owners drink a certain type of beverage, smoke a certain brand of cigar, and keep a certain pet. No owners have the same pet, smoke the same brand of cigar, or drink the same beverage. We have to find out each of the respective persons with their respective belongings.

Pictorial representation of the puzzle

Pictorial representation of the puzzle

Here are the clues:

  • The Brit lives in the red house.
  • The Swede keeps dogs as pets.
  • The Dane drinks tea.
  • The greenhouse is on the immediate left of the white house.
  • The owner of the greenhouse drinks coffee.
  • The person who smokes Pall Mall rears birds.
  • The owner of the yellow house smokes Dunhill.
  • The man living in the center house drinks milk.
  • The Norwegian lives in the first house.
  • The man who smokes Blends lives next to the one who keeps cats.
  • The man who keeps the horse lives next to the man who smokes Dunhill.
  • The man who smokes Blue Master drinks beer.
  • The German smokes Prince.
  • The Norwegian lives next to the blue house.
  • The man who smokes Blends has a neighbor who drinks water.

Solution:

Step 1: We need to arrange tables for every detail according to each house,

Tables for every detail according to each house

Tables for every detail according to each house

Step 2: We fill in the details of the color of the respective houses,

  • House #5 can’t be green because it isn’t to the left of any house (see hint #4). 
  • House #2 is blue because it is the only house next to the Norwegian (see hint#14), and from hint #9, we know that the Norwegian lives in house #1. 
  • House #3 drinks milk (see hint#8), but we know the resident of the greenhouse drink coffee (see hint#5), so house #3 can’t be green. We are now left to choose between house #1 and house #4, but we know house #1 is to the left of the blue house (see second sentence of this section), and from hint #4, the greenhouse is to the left of a white house, not a blue one.
  • Since we now know house #4 is green, we can infer by way of hint #4 that house #5 is white, because it is to whose left, green is located.
  • Since there are 2 uncolored houses left (House #1, and House #3), we start with House #1. Well, that’s simple, the Norwegian lives there and from hint#1, the Brit lives in the red house. We conclude house #3 is Red.
Fill in the details of the color of the respective houses

Fill in the details of the color of the respective houses

 Step 3: Filling in hints by looking at the clues,

Filling in hints by looking at the clues

Filling in hints by looking at the clues

Now, the only house next to the Dunhill smoker is the blue house.

The Dane isn’t the BlueMasters smoker, because the Dane drinks tea (see hint #3) while the BlueMasters smoker drinks beer (see hint #12). What all of this means is that either the Dane lives in house #5 and the BlueMasters smoker lives in house #2 or vice versa.

Trying the first scenario means the German and the Swede are left to both battle for house #4, which shouldn’t be.

 

Step 4: Looking for Who smokes what and their beverages, and pets!

  • Next, we look at the Germans and the Swedes. Between the two of them, they now have house #4 and house #5 to choose from (House #2 is out of the question for the German, the Dane is already there.). The German smokes Prince (see hint #13), so he couldn’t be living in house #5.
  • Per hint #15, the only place the Blend smoker could live is house #2. It is also clear who drinks water.
  • We know what all houses smoke but the Brit, so the Brit is left to smoke Pall Mall. The only person who lives next to the Blend smoker, who hasn’t been assigned a pet is the Norwegian (see hint #10), so the Norwegian keeps cats.

    So the final matrix looks like this,

     

Final matrix

Final matrix

To summarize, we have,

Einstein's Puzzle

Einstein’s Puzzle

 


Similar Reads

Puzzle | Man fell in well Puzzle
A man fell in a 50m deep well. He climbs 4 meters up and slips 3 meters down in one day. How many days would it take for him to come out of the well? Answer: 47days Explanation: On the first day, the man climbs 4 meters up and slips 3 meters down, therefore he only climbs 1 meter up totally.On the second day, again he climbs 1 meter up, so the tota
1 min read
Puzzle - A LITTLE TRAIN PUZZLE
A nonstop express going sixty miles an hour starts from Bustletown for Ironchester, and another nonstop express going forty miles an hour starts at the same time from Ironchester for Bustletown. How far apart are they exactly an hour before they meet?Because the two stations cannot be found on any map or gazetteer, we cannot state the distance betw
1 min read
Puzzle 15 | (Camel and Banana Puzzle)
A person has 3000 bananas and a camel. The person wants to transport the maximum number of bananas to a destination which is 1000 KMs away, using only the camel as a mode of transportation. The camel cannot carry more than 1000 bananas at a time and eats a banana every km it travels. What is the maximum number of bananas that can be transferred to
4 min read
Puzzle 24 | (10 Coins Puzzle)
You are blindfolded and 10 coins are placed in front of you on the 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. Can you make two piles of coins each with the same number of heads up? You can flip the coins any n
1 min read
Puzzle 27 | (Hourglasses Puzzle)
Puzzle: Given two hourglass of 4 minutes and 7 minutes, the task is to measure 9 minutes. Solution: At 0 minutes: Start both hourglasses at the same time. At 4 minutes: 4 minutes hourglass runs out and flip it. 7 minutes hourglass is left with 3 minutes. At 7 minutes: 4 minutes hourglass is left with 1 minute. 7 minutes hourglass runs out and flip
1 min read
Puzzle 28 | (Newspaper Puzzle)
Question: A newspaper made of 16 large sheets of paper folded in half. The newspaper has 64 pages altogether. The first sheet contains pages 1, 2, 63, 64. If we pick up a sheet containing page number 45. What are the other pages that this sheet contains? Answer: On the back of 45, it is 46. The pages are such that for each page p, 65-p will be also
1 min read
Puzzle 31 | (Minimum cut Puzzle)
Puzzle: You have got someone working for you for five days and a gold bar to pay him. You must give them a piece of gold at the end of every day. What are the fewest number of cuts to the bar of gold that will allow you to pay him 1/5th each day? Answer: 2 cuts. Solution: Explanation 1: After two cut there are three pieces of [1 unit and two 2 unit
2 min read
Puzzle 33 | ( Rs 500 Note Puzzle )
A Lady (L) bought an item of Rs 100 from the Shopkeeper (C). She paid him through a 500 Rs Note. Realizing that he did not have change, the shopkeeper C got change for that note from another shopkeeper (S) and paid Rs 400 to the Lady. After a few days, S realized that the note is fake, And this railed at C and took 500 Rs back from him. So in this
1 min read
Puzzle 36 | (Matchstick Puzzle)
Question: How to make 4 equilateral triangles with 6 identical match sticks? Method - I: Make a tetrahedron. Method-II: Method - III: Make one equilateral triangle by three sticks . then put each remaining stick on straight line passing through middle points of each two arms of triangle. Method IV: https://youtu.be/DqLOC85SVHQ
1 min read
Puzzle 38 | (Tic Tac Toe Puzzle)
Statement: The game of Tic-Tac-Toe is being played between two players and it is in below state after six moves. Can you answer following questions? Who will win the game, O or X? Which was the sixth mark and at which position? Assume that both the players are intelligent enough. Solution: O will win the game. The sixth mark was X in square 9. Expl
1 min read
Article Tags :
Practice Tags :
three90RightbarBannerImg