Unordered set and map

Revision en1, by Qualified, 2020-07-22 05:01:42

I was reading up on STL, and I was reading the unordered_set std::count function. It says that worst case is linear and average is constant. Is there a way to make the worst case be constant instead of it being linear?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Qualified 2020-07-22 05:01:42 241 Initial revision (published)