Which of the following properties are obeyed by all three tree – traversals?
A. Left subtrees are visited before right subtrees
B. Right subtrees are visited before left subtrees
C. Root node is visited before left subtree
D. Root node is visited before right subtree
Answer:A
Which of the following properties are obeyed by all three tree – traversals?
A. Left subtrees are visited before right subtrees B. Right subtrees are visited before left subtrees C. Root node is visited before left subtree D. Root node is visited before right subtree