Link to home
Start Free TrialLog in
Avatar of dearCode
dearCode

asked on

Arrays.sort(), Collections.sort()

What sort does each of Arrays.sort() and Collections.sort() use?
Avatar of Member_2_5069294
Member_2_5069294

What language are you using?
ASKER CERTIFIED SOLUTION
Avatar of stu215
stu215
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Link to the Wikipedia article that the above came from::
http://en.wikipedia.org/wiki/Merge_sort

See the following section :: "Comparison with other sort algorithms"
>> java.util.Collections.sort() does use a modified mergesort

Source:: http://en.wikipedia.org/wiki/Talk%3AMerge_sort#Java_Arrays.sort.28.29_using_merge_sort.3F
Avatar of dearCode

ASKER

It wasn't an accurate solution