question 32 test 01 array.sort sorting method quicksort/timsort

This commit is contained in:
Xevion
2019-11-20 20:59:49 -06:00
parent 16abc2b77c
commit 5a01627ccd

View File

@@ -531,6 +531,11 @@ It replaces spaces, commas, brackets, and all other characters that *aren't dig
## Question 32
This is a more "trivia-like" question that most. Arrays.sort, in *Java SE 7*.
The array in question is a primitive array, which is important, as the Arrays.sort() method will sort based on the content of the array.
If the array is for objects, it will use "Timsort", which is a hybrid of *Merge Sort* and *Insertion Sort*.
Otherwise, for primitives, it will use *Dual-Pivot Quicksort*.
## Question 33
## Question 34