Hi, all
I want written a tree but not binarry tree (ternay tree). and get all values of tree. Example i have 3 node and values of each node following:
1
1, 0, x
v,x
Number values of each node must is: 1 or 0 or x, v or x
Diagram of tree:
1
1 0 x
v x v x v x
and get all values of tree, which have:
1 - 1 - v
1 - 1 - x
1 - 0 - v
1 - 0 - x
1 - x -v
1 - x - x
Please help me?