GATEverse
← GATE CSE 2003

Q63

MCQ2 marks, −0.5

A data structure is required for storing a set of integers such that each of the following operations can be done in O(log⁡n)O(\log n) time, where nn is the number of elements in the set. Which of the following data structures can be used for this purpose? A heap can be used but not a balanced binary search tree A balanced binary search tree can be used but not a heap Both balanced binary search tree and heap can be used Neither balanced search tree nor heap can be used

Sign in to save attempts.

Loading…