1.

Which of the following statements is true for Binary search Trees?

A. The left subtree of a node contains only nodes with keys less than the node's key.
B. The right subtree of a node contains only nodes with keys greater than the node's key.
C. Both a and b above
D. Both left and right subtree nodes contains only nodes with keys less than the node's key.
Answer» D. Both left and right subtree nodes contains only nodes with keys less than the node's key.


Discussion

No Comment Found