LeetCode數據規模跟算法時間複雜度的對應關係

  大體對應關係以下:spa Input Size Complexity 50000 O(n) 20000 O(n logn) 1000 O(n ^ 2)ci 30 O(n ^ 4) 20 O(2 ^ n)
相關文章
相關標籤/搜索