Desgin a data structure

Design a data structure that supports O(log(n)) insertion and deletion operation but takes constant time to output min-gap( minimum gap between any two numbers in array).

Author: Amit Khandelwal 1
Login to Answer
Sort By:
Oldest
|
Newest
|
Vote
|
My Answer