A.T(n)=O(f(n)) B.S(n)=O(f(n)) C.T(n)=f(n) D.S(n)=f(n)
A.O(log2n) B.O(1) C.O(n) D.O(n*n)
A.時(shí)間復(fù)雜度 B.算法的步驟數(shù) C.空間復(fù)雜度 D.算法的長(zhǎng)度