Sorting A vector of strings

Правка en1, от _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 ?

Теги string, sorting

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский _comfortably_numb 2018-10-09 21:55:56 331 Initial revision (published)