跳到正文

剪贴板

剪贴板 5u6yk14f

原文
剪贴板信息

剪贴板信息

收录
更新

时间复杂度表

时间复杂度少爷机老爷机
O(1)O(1)∞\infty∞\infty
O(log⁡log⁡n)O(\log \log n)2(2(109))2^{(2^{(10^9)})}2(2(2×107))2^{(2^{(2\times10^7)})}
O(log⁡n)O(\log n)2(109)2^{(10^9)}2(2×107)2^{(2\times10^7)}
O(n)O(\sqrt n)101810^{18}4×10144\times10^{14}
O(log⁡nn)O(\log n\sqrt n)5×10145\times10^{14}3×10113\times10^{11}
O(n34)O(n^{\frac{3}{4}})101210^{12}5×1095\times10^9
O(n)O(n)10910^92×1072\times10^7
O(nlog⁡log⁡n)O(n\log \log n)4×1084\times10^85×1065\times10^6
O(nlog⁡n)O(n\log n)4×1074\times10^710610^6
O(nlog⁡2n)O(n \log^2 n)2×1062 \times 10^67500075000
O(nn)O(n\sqrt n)10610^68000080000
O(n2)O(n^2)300003000050005000
O(n2log⁡n)O(n^2\log n)9000900015001500
O(n2n)O(n^2\sqrt n)4000400010001000
O(n3)O(n^3)10001000300300
O(n3n)O(n^3\sqrt n)370370270270
O(n4)O(n^4)1501508080
O(n5)O(n^5)60603030
O(2n)O(2^n)30302525
O(2n×n)O(2^n\times n)25252020
O(n!)O(n!)12121010
O(n!×n)O(n!\times n)111199
O(nn)O(n^n)9988