After First Partition: 1, 2, 3, 4b, 4a.We see that the numbers are sorted but the relative order of 4's have changes.Hence quicksort is not stable sort.
確定! 回上一頁