二分查找時間複雜度、partition時間複雜度

 二分查找時間複雜度3d

partition時間複雜度blog

O(n) = O(n) + O(n/2) + O(n/4)+....it

而後用等比求和公式得出是O(2n),即O(n)io

相關文章
相關標籤/搜索