0 votes
in JAVA by
How the underlying mechanism in java’s built-in sort?

1 Answer

0 votes
by

What is the underlying mechanism in java’s built-in sort?

Java’s built-in sort function utilizes the two pivot quicksort mechanism. Quicksort works best in most real-life scenarios and has no extra space requirements.

...