Question:
Seven friend C,D,E,F,G,H & I who like different cities namely Surat, Kolkata, Bangalore, Mumbai, Delhi, Ranchi, Pune studies in 3 different schools DAS, RIS, VCS. Atleast 2 students study together. F studies with one who likes Bangalore in RIS. One who likes Delhi studies only with H. H does not like Bangalore. C studies with those who like Surat and Pune. C does not study with F. E studies only with one who likes Mumbai. One who likes Mumbai does not study with one who likes Delhi. More than one person study with D. D does not like Pune. Both I & one who likes Ranchi study in same school but not in DAS. H does not like Ranchi.Solution:
Friends
|
Cites
|
School
|
---|---|---|
G
|
Delhi
|
DAS
|
H
|
Kolkata
|
DAS
|
F
|
Mumbai
|
RIS
|
E
|
Bangalore
|
RIS
|
C
|
Ranchi
|
VCS
|
D
|
Surat
|
VCS
|
I
|
Pune
|
VCS
|
Thanks.