feat(post): clarify constant time upper bound
This commit is contained in:
parent
1d9979fd00
commit
4f64a105c8
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@
|
|||
2^k-1=x\))). \(x\) and \(n\) have \(lg(x)\) and \(lg(n)\) bits
|
||||
respectively, so the solution is \(O(lg(x) + lg(n))\in O(log(xn))\).
|
||||
\(1\leq x,n\leq 1e8\), so this runtime is bounded by
|
||||
\(O(log(1e8^2))=O(log(1e16))=O(16)\).
|
||||
\(O(log(1e8^2))=O(log(1e16))=O(16)=O(1)\).
|
||||
</p>
|
||||
</article>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue