Question 871274
{{{(matrix(6,6,
x,A,B,C,D,E,
A,0, 1, 0, 1, 0,
B,1, 0, 1, 0, 0,
C,0, 1, 0, 1, 0,
D,1, 0, 0, 0, 0,
E,1, 1, 1, 1, 0 ))}}}
.
.
.

YES - a to b to d 
YES but - b to c : you missed B to A
YES - c to b to d 
NO - d to e : No, it's only D to A
YES - e to a to b to c to d