1.

What is the time complexity for finding a maximum and minimum integer in Van Emde Boas data structure?(a) O (log M!)(b) O (M!)(c) O (1)(d) O (log (log M))My doubt stems from Trees in section Trees of Data Structures & Algorithms II had been asked this question in an interview for job.

Answer»

The correct option is (c) O (1)

Easy EXPLANATION - In order to find a maximum or minimum INTEGER in the Van Emde Boas data structure, the operation can be PERFORMED on an associative array. Hence, the time complexity for FINDING a maximum or minimum integer in Van Emde Boas data structure is O (1).



Discussion

No Comment Found

Related InterviewSolutions