Sorting A vector of strings

Revision en1, by _comfortably_numb, 2018-10-09 21:55:56

Recently I faced few problems where I needed to use a map of strings or sort a vector of strings.

The number of strings can be upto 10^5, but the summation of lengths of the strings won't be larger than 10^5.

Now, I wonder what is the complexity of this sorting ? And can you please explain why ?

Tags string, sorting

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _comfortably_numb 2018-10-09 21:55:56 331 Initial revision (published)