In a Binary Search Tree (BST), what is the time complexity of deleting a node?
A. O(1)
B. O(log n)
C. O(n)
D. O(n log n)
Answer: Option B
Related Questions on Trees in Data Structures
A. Inorder
B. Preorder
C. Postorder
D. Level-order
A. O(1)
B. O(log n)
C. O(n)
D. O(n log n)
Answer: Option B
A. Inorder
B. Preorder
C. Postorder
D. Level-order
Join The Discussion