1.

Insertion into a 2-d tree is a trivial extension of insertion into a binary search tree.(a) true(b) falseQuery is from Trees in portion Trees of Data Structures & Algorithms IThis question was addressed to me in an online interview.

Answer»

Correct answer is (a) true

Best explanation: Insertion of elements in a 2-d tree is SIMILAR to that of a BINARY SEARCH tree. HENCE, it is a trivial EXTENSION of the binary search tree.



Discussion

No Comment Found

Related InterviewSolutions