我正在阅读有关 java 编程中的大 O 表示法的内容。我发现下表显示了不同数据结构的不同大O。
http://bigocheatsheet.com/
我的问题是:
O(n^2)
O(n)
O(1)
O(log(n)*log(n))
O(log(n))
谢谢。
big-o time-complexity data-structures
big-o ×1
data-structures ×1
time-complexity ×1