When we say Arrays.sort(array) or Collections.sort(List,comparator) , which sorting algorithm is used ? In other words can we assume that the sort() method uses the quickest sorting algorithm ? (For Java)
Asked
Active
Viewed 48 times
0
-
In what context are asking, i.e. for what language. Different languages have different implementations – Alexios Tsiaparas Jun 04 '17 at 16:40
-
1@AlexiosTsiaparas I believe based on tags he is talking about Java – Peter Reid Jun 04 '17 at 16:48
-
@PeterReid Thanks, did not notice !!! – Alexios Tsiaparas Jun 04 '17 at 16:53
-
(I edited :D )thanks guys it is duplicated ! – gingerdd Jun 04 '17 at 16:59