0 votes
in JAVA by (30.5k points)
How the underlying mechanism in java’s built-in sort?

1 Answer

0 votes
by (6.0k points)

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.

Related questions

...