Solutions
● A likes Green and facing outside. Two persons are sitting between A and D.
Take case 1: ● One person sits between D and F who likes Black.
Take case 1A: ● Two persons sit between F and the one who likes Pink. B and E are neighbors and one of them likes Pink. E is neighbor of A. So B must like Pink.
● H likes Yellow and facing outside and sits 2
nd to the left of C. H is not neighbor of D so this case get rejected.
Take case 1B: ● Two persons sit between F and the one who likes Pink. B and E are neighbors and one of them likes Pink. E is neighbor of A. So B must like Pink.
● H likes Yellow and facing outside and sits 2
nd to the left of C. We can see that G must sit with C but it is given they can’t be neighbors so this case gets rejected.
Take case 2: ● One person sits between D and F who likes Black.
Take case 2A: ● Two persons sit between F and the one who likes Pink. B and E are neighbors and one of them likes Pink. E is neighbor of A. So B must like Pink.
● H likes Yellow and facing outside and sits 2
nd to the left of C. H cannot sit with D so this case gets rejected.
Take case 2B: ● Two persons sit between F and the one who likes Pink. B and E are neighbors and one of them likes Pink. E is neighbor of A. So B must like Pink.
● H likes Yellow and facing outside and sits 2
nd to the left of C.
● The one who likes Blue is facing outside. So C must like Blue.
● G doesn’t like Red and Orange. So G must like Brown.
● The one who likes Orange is neighbor of A. So E must like Orange and D must like Red.
Here is the final arrangement:
E likes Orange color.