1.

What is the time complexity for deleting a key or integer in Van Emde Boas data structure?(a) O (log M!)(b) O (log (log M))(c) O (M!)(d) O (M^2)My question is taken from Trees in division Trees of Data Structures & Algorithms II had been asked this question in homework.

Answer»

The correct option is (b) O (log (log M))

For EXPLANATION: In order to delete a key or integer in the Van Emde Boas DATA structure, the operation can be performed on an associative ARRAY. HENCE, the time complexity for DELETING a key or integer in Van Emde Boas data structure is O (log (log M)).



Discussion

No Comment Found

Related InterviewSolutions