help me to reduce time complexity

Revision en1, by agrawaltanmay17, 2024-08-01 08:22:38

I am using distance function in multiset but it requiers a time complexity of O(n) please help me to count the number of elements which are lesser or equal to a perticular element in multiset

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English agrawaltanmay17 2024-08-01 08:22:38 228 Initial revision (published)