複雜度 為線性時間。 但是在資料完全反序的最差情況(註1): Function insertionSort(Type data[1..n]) Index i, j; // 1 Type value; ...
確定! 回上一頁