Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 2
Which sorting Algo works inside Collections.sort method ?
Collections
2 Answers
+ 1
I think merge sort. Let me know the answer if it is wrong
0
For object types, merge sort is used. Though, for primitives data type, quick sort is used.