What is the depth of any tree if the union operation is performed by height?
A. O(N)
B. O(log N)
C. O(N log N)
D. O(M log N)
Answer: Option B
A. O(N)
B. O(log N)
C. O(N log N)
D. O(M log N)
Answer: Option B
A. Inorder
B. Preorder
C. Postorder
D. Level-order
Join The Discussion