Tree vs Not
a
b
c
d
e
Not a tree:
a
b
c
e
f
d
A tree: