Please read the new rule regarding the restriction on the use of AI tools. ×

Search of specific data structure

Revision en1, by Jim_Moriarty_, 2020-04-05 19:26:37

Is there a data structure which performs O(1) or O(logn) insertion at back and same for removal and we can find the number of elements less than K (any particular element ) in O(logn) if the data structure is already sorted (means binary search is applicable )

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Jim_Moriarty_ 2020-04-05 19:26:37 294 Initial revision (published)