307 views
0 votes
0 votes
A ds is reqd. For storing a set of integers such that each of the following operations can be done in O (logN) time where N is the no. Of elements in the set

Deletion of smallest element

Insertion of an element if it is not already  present in the set

Please log in or register to answer this question.

Related questions

9 votes
9 votes
2 answers
1
GO Classes asked May 4, 2022
510 views
If $f(n) = O(g(n))$ and $f(n) = \Omega(g(n)),$ then it is always true that$f(n) = o(g(n)).$$f(n) = \theta(g(n)).$$f(n) = \omega(g(n)).$both A and B are always true.