1.

B-tree and AVL tree have the same worst case time complexity for insertion and deletion.(a) True(b) FalseMy question is taken from B-Trees topic in section B-Trees of Data Structures & Algorithms IThis question was posed to me at a job interview.

Answer»

Right ANSWER is (a) True

Best EXPLANATION: Both the B-tree and the AVL tree have O(log n) as WORST case TIME COMPLEXITY for insertion and deletion.



Discussion

No Comment Found

Related InterviewSolutions