1.

Sets are implemented using _______________________(a) binary search tree(b) red black tree(c) avl tree(d) heap

Answer» The correct answer is (a) binary search tree

Explanation: Sets are implemented using the search tree so that we can check the presence of any element to be inserted in O(logn) time in order to remove conflicts between elements.


Discussion

No Comment Found

Related InterviewSolutions