Data set: Three-way floors (Hard)
Three-way floors
Six tenants, Tushar, Uma, Vikram, Wasima, Yogesh and Zara, occupy floors 1 to 6 of a building (floor 1 is the lowest). Each has a different profession, architect, dentist, editor, farmer, jeweller and potter; each has a different favourite fruit, mango, guava, papaya, litchi, plum and fig; and each owns a different pet, dog, cat, parrot, hamster, turtle and rabbit.
The following is known:
- The person who likes mango lives on some floor below the farmer.
- The hamster owner is also the dentist.
- Zara lives on the floor immediately below the rabbit owner.
- There are exactly 2 floors between the floors of the person who likes papaya and the parrot owner.
- The editor lives on either the top floor or the bottom floor.
- Either the person who likes fig lives on floor 4 or the architect lives on floor 5, but not both.
- The person who likes fig lives on the floor immediately below the farmer.
- The architect and the hamster owner live on adjacent floors.
- There are exactly 2 floors between the floors of Zara and Tushar.
- There are exactly 2 floors between the floors of Yogesh and the person who likes guava.
- Either Yogesh lives on floor 6 or Uma lives on floor 4, but not both.
- The jeweller is also the person who likes papaya.
- There is exactly one floor between the floors of Zara and the dog owner.
- Zara lives on some floor below Yogesh.
- Tushar and the person who likes papaya live on adjacent floors.
- The turtle owner lives on either the top floor or the bottom floor.
- Vikram lives on either the top floor or the bottom floor.
- Yogesh likes plum.
What is the fruit of the person on the floor immediately above Vikram?
Amango
Bfig
Cpapaya
Dplum
Show answer & solution
Correct answer: A. mango
Solution: Step 1: “The hamster owner is also the dentist.” Note it; it rules out some placements but fixes nothing on its own yet. Step 2: “The jeweller is also the person who likes papaya.” Note it; it rules out some placements but fixes nothing on its own yet. Step 3: “Yogesh likes plum.” Now fixed: Yogesh: plum. Step 4: “Zara lives on the floor immediately below the rabbit owner.” Note it; it rules out some placements but fixes nothing on its own yet. Step 5: “The person who likes fig lives on the floor immediately below the farmer.” Note it; it rules out some placements but fixes nothing on its own yet. Step 6: “There are exactly 2 floors between the floors of the person who likes papaya and the parrot owner.” Note it; it rules out some placements but fixes nothing on its own yet. Step 7: “There are exactly 2 floors between the floors of Zara and Tushar.” Note it; it rules out some placements but fixes nothing on its own yet. Step 8: “There are exactly 2 floors between the floors of Yogesh and the person who likes guava.” Note it; it rules out some placements but fixes nothing on its own yet. Step 9: “There is exactly one floor between the floors of Zara and the dog owner.” Note it; it rules out some placements but fixes nothing on its own yet. Step 10: “Either the person who likes fig lives on floor 4 or the architect lives on floor 5, but not both.” Note it; it rules out some placements but fixes nothing on its own yet. Step 11: “Either Yogesh lives on floor 6 or Uma lives on floor 4, but not both.” Note it; it rules out some placements but fixes nothing on its own yet. Step 12: “The editor lives on either the top floor or the bottom floor.” Note it; it rules out some placements but fixes nothing on its own yet. Step 13: “The turtle owner lives on either the top floor or the bottom floor.” Note it; it rules out some placements but fixes nothing on its own yet. Step 14: “Vikram lives on either the top floor or the bottom floor.” Note it; it rules out some placements but fixes nothing on its own yet. Step 15: “The architect and the hamster owner live on adjacent floors.” Note it; it rules out some placements but fixes nothing on its own yet. Step 16: “Tushar and the person who likes papaya live on adjacent floors.” Now fixed: Tushar on floor 2; Zara on floor 5; Tushar: dentist; Zara: farmer; Tushar: hamster; Zara: cat. Step 17: “The person who likes mango lives on some floor below the farmer.” Now fixed: Tushar: mango; Zara: litchi. Step 18: “Zara lives on some floor below Yogesh.” Now fixed: Uma on floor 3; Vikram on floor 1; Wasima on floor 4; Yogesh on floor 6; Uma: architect; Vikram: jeweller; Wasima: potter; Yogesh: editor; Uma: guava; Vikram: papaya; Wasima: fig; Uma: dog; Vikram: turtle; Wasima: parrot; Yogesh: rabbit. Every possible arrangement was checked by computer and exactly one fits all the clues: floor 1: Vikram (jeweller, papaya, turtle); floor 2: Tushar (dentist, mango, hamster); floor 3: Uma (architect, guava, dog); floor 4: Wasima (potter, fig, parrot); floor 5: Zara (farmer, litchi, cat); floor 6: Yogesh (editor, plum, rabbit). Vikram is in floor 1; the person on the floor immediately above is Tushar, whose fruit is mango.