There are 4 people: Wade, Xavier, Yolanda and Zoey. They each traveled to Australia, Bahamas, Canada and Denmark on January and July this year.
Each person only knew their own itineraries for both trips and did not know what the others' favorite numbers are. They each were told these 4 facts:
Each traveled to a distinct location and they never travel to the same place in the same year.
Xavier didn't visit Australia at all, and Zoey didn't visit Bahamas nor Denmark at all.
Yolanda didn't visit Canada in January nor did she visit Denmark in July.
Wade visited Canada in July.
Among these 4 people, who are able to figure out everyone's itineraries?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Ok... I'll write the solution for this. @Pi Han Goh
I don't like to format a table, so I would like to represent the info like this...
Janurary
W(- ,- ,- ,- )
X (- ,- ,- ,- )
Y (- ,- ,- ,- )
Z (- ,- ,- ,- )
July
W(- ,- ,- ,- )
X (- ,- ,- ,- )
Y (- ,- ,- ,- )
Z (- ,- ,- ,- )
Note that "-: means no info, "X" means wrong and "0" means correct.
1. X never visited A.
Janurary
W(- ,- ,- ,- )
X (X,- ,- ,- )
Y (- ,- ,- ,- )
Z (- ,- ,- ,- )
July
W(- ,- ,- ,- )
X (X,- ,- ,- )
Y (- ,- ,- ,- )
Z (- ,- ,- ,- )
2. Z never visited B and D.
Janurary
W(- ,- ,- ,- )
X (X,- ,- ,- )
Y (- ,- ,- ,- )
Z (- ,X,- ,X)
July
W(- ,- ,- ,- )
X (X,- ,- ,- )
Y (- ,- ,- ,- )
Z (- ,X,- ,X)
3. Y didn't visit C in January and D in July.
Janurary
W(- ,- ,- ,- )
X (X,- ,- ,- )
Y (- ,- ,X,- )
Z (- ,X,- ,X)
July
W(- ,- ,- ,- )
X (X,- ,- ,- )
Y (- ,- ,- ,X)
Z (- ,X,- ,X)
4. W visited C in July.
Janurary
W(- ,- ,- ,- )
X (X,- ,- ,- )
Y (- ,- ,X,- )
Z (- ,X,- ,X)
July
W(- ,- ,0,- )
X (X,- ,- ,- )
Y (- ,- ,- ,X)
Z (- ,X,- ,X)
Step 1.
Janurary
W(- ,- ,X,- )
X (X,- ,- ,- )
Y (- ,- ,X,- )
Z (- ,X,- ,X)
July
W(X,X,0,X)
X (X,- ,X,- )
Y (- ,- ,X,X)
Z (- ,X,X,X)
Step 2.
Janurary
W(- ,- ,X,- )
X (X,- ,- ,- )
Y (- ,- ,X,- )
Z (- ,X,- ,X)
July
W(X,X,0,X)
X (X,- ,X,0)
Y (- ,- ,X,X)
Z (0,X,X,X)
Step 3.
Janurary
W(- ,- ,X,- )
X (X,- ,- ,X)
Y (- ,- ,X,- )
Z (- ,X,- ,X)
July
W(X,X,0,X)
X (X,X,X,0)
Y (X,- ,X,X)
Z (0,X,X,X)
Step 4.
Janurary
W(- ,- ,X,- )
X (X,- ,- ,X)
Y (- ,- ,X,- )
Z (X,X,- ,X)
July
W(X,X,0,X)
X (X,X,X,0)
Y (X,0,X,X)
Z (0,X,X,X)
Step 5.
Janurary
W(- ,- ,X,- )
X (X,- ,- ,X)
Y (- ,- ,X,- )
Z (X,X,0,X)
July
W(X,X,0,X)
X (X,X,X,0)
Y (X,0,X,X)
Z (0,X,X,X)
Step 6.
Janurary
W(- ,- ,X,- )
X (X,- ,X,X)
Y (- ,- ,X,- )
Z (X,X,0,X)
July
W(X,X,0,X)
X (X,X,X,0)
Y (X,0,X,X)
Z (0,X,X,X)
Step 7.
Janurary
W(- ,- ,X,- )
X (X,0,X,X)
Y (- ,- ,X,- )
Z (X,X,0,X)
July
W(X,X,0,X)
X (X,X,X,0)
Y (X,0,X,X)
Z (0,X,X,X)
Step 8.
Janurary
W(- ,X,X,- )
X (X,0,X,X)
Y (- ,X,X,- )
Z (X,X,0,X)
July
W(X,X,0,X)
X (X,X,X,0)
Y (X,0,X,X)
Z (0,X,X,X)
Only W and Y can infer the countries the others' went to as X and Z do not know who went to A and D in January
Therefore, Wade and Yolanda is the answer.