This website is preserved for historical and scholarly reference and is no longer actively maintained.
Mapping array to the problem
x y z
true 1 blue
true 2 white
true 3 red
false 1 white
false 2 red
false 3 blue
null 1 red
null 2 blue
null 3 white
X can be {true, false, null}