i need to create a tree that has matrix 3*3 in every node like this
5 6 4
8 9 4
1 2 3
/ \
8 6 4 5 6 4
2 5 4 5 5 6
3 1 2 2 3 1 |
in c++ . and i need to apply a dfs[depth first search] on it
Last edited on
How would you create a tree that has one integer in every node?
make the 3x3 type, then make a tree of it.
what are you going to search on?