trees ( data structures) Flashcards
1
Q
what makes a binary tree
A
no node can have more that 2 connected nodes
2
Q
what is the difference between a tree and a graph
A
Tree is 1-directional whereas a graph is 2-directional
* Tree has a root node whereas a graph does not have a (clear) root node