java 8: Arrays.sort vs Collections.sort performance

Правка en1, от rrepeat, 2017-01-13 23:20:30

For problem 710B following solutions:

  1. AC solution using collections.sort.
  2. TLE solution using Arrays.sort.

Does this mean Arrays.sort is slow, and should not be used in contests ? Anybody encountered such problem before ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский rrepeat 2017-01-13 23:20:30 452 Initial revision (published)