Closed
Description
Say on FastInterstectionSol2.java class
public void mergeSort(int[] input) {
Arrays.sort(input);
}
but Arrays.sort(input) is a quicksort
Sorts the specified array into ascending numerical order.
Implementation note: The sorting algorithm is a Dual-Pivot Quicksort by Vladimir Yaroslavskiy, Jon Bentley, and Joshua Bloch
as per the documentation.
Metadata
Metadata
Assignees
Labels
No labels