A data structure is required for storing a set
Asked by admin @ in Computer Science viewed by 295 People
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) time, where n is thenumber of elements in the set1. Deletion of the smallest elementII. Insertion of an element if it is not already present in the setWhich of the following data structures can be used for this purpose?