Introduction to Algorithm 第二章第二節

2-2.1 n^3/1000 - 100n^2 - 100n + 3  忽略低階項,和最重要的項的常係數。 結果爲 Θ(n^3 ) 2-2.2 給出算法的僞代碼: SelectionSort(A) n = A.length for i = 0 to n – 2           MIN = A[i]           P = i           for j =i + 1 to n – 1
相關文章
相關標籤/搜索