There are three houses on each side of the road. These six houses are labeled as P, Q, R, S, T, and U. The houses are of different colors, namely, Red, Blue, Green, Orange, Yellow, and White. The houses are of different heights.
- T, the tallest house, is exactly opposite to the Red-colored house.
- The shortest house is exactly opposite to the Green colored house.
- U, the Orange colored house, is located between P and S.
- R, the Yellow-colored house, is exactly opposite to P.
- Q, the Green colored house, is exactly opposite to U.
- P, the white-colored house, is taller than R, but shorter than S and Q.
What is the color of the tallest house and how many houses are taller than the house R?
Solution:
- From the given information the tallest house is T and it is opposite to the Red-colored house. and the Shortest house is exactly opposite to the Green colored house.
- The color of the house U is Orange and it is situated between P and S. It implies that houses P, S, and U are on one side of the road and the other three houses, namely, Q, R, and T are on another side of the road. P, S, and U can be placed in two ways. One way is {P, U, S}, and another way is {S, U, P}.
- The color of the house R is Yellow and it is opposite to P.
- The color of the house Q is Green and it is opposite of U. The shortest house is exactly opposite to the Green colored house it means the shortest house is U.
- The remaining house T, the tallest house, is opposite to S. The color of the house which is exactly opposite to T is Red. It means the color of S is Red. P, the white-colored house, is taller than R, but shorter than S and Q. The heights of P, Q, R, and S can be arranged in two ways. One of the ways is {S, Q, P, R} and another way is {Q, S, P, R}.
- Therefore, {P, U, S} are one side on the road, and {R, Q, T} are on another side of the road. P is opposite to R, U is opposite to Q and S is opposite to T. These two cases are shown below:
Heights of houses also have two ways which are shown in the table below:
CASE 1 | CASE 2 | |
Tallest | T-Blue | T-Blue |
2nd Tallest | Q-Green | S-Red |
3rd Tallest | S-Red | Q-Green |
4th Tallest | P-White | P-White |
5th Tallest | R-Yellow | R-Yellow |
Smallest | U-Orange | U-Orange |
From the above table,
The color of the tallest house is Blue and the tallest house is T. Therefore, there are four houses taller than R which are T, Q, S, and P.
Recommended Posts:
- Puzzle | (Six Matches , Right Foot Forward)
- Puzzle | Six colored cube
- Puzzle 15 | (Camel and Banana Puzzle)
- Puzzle 34 | (Prisoner and Policeman Puzzle)
- Puzzle 51| Cheryl’s Birthday Puzzle and Solution
- Puzzle | 3 Priests and 3 devils Puzzle
- Puzzle 24 | (10 Coins Puzzle)
- Puzzle 27 | (Hourglasses Puzzle)
- Puzzle 28 | (Newspaper Puzzle)
- Puzzle 29 | (Car Wheel Puzzle)
- Puzzle 31 | (Minimum cut Puzzle)
- Puzzle 33 | ( Rs 500 Note Puzzle )
- Puzzle 36 | (Matchstick Puzzle)
- Puzzle 38 | (Tic Tac Toe Puzzle)
- Puzzle 39 | (100 coins puzzle)
- Puzzle 81 | 100 people in a circle with gun puzzle
- Puzzle 85 | Chain Link Puzzle
- Puzzle | Elevator Puzzle
- Puzzle 7 | (3 Bulbs and 3 Switches)
- Puzzle 10 | (A Man with Medical Condition and 2 Pills)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.