Content deleted Content added
Reverted good faith edits by 43.228.95.75 (talk): Good-faith mistake |
clarify existing HTML comment on (not) specifying the base of logarithms when writing Big-O expressions (no material/visible edits) |
||
Line 6:
|invented_year=1964
<!-- NOTE:
For the purposes of "Big O" notation, all bases are equivalent, because changing the base of a log only introduces a constant factor.
Since the base of logarithms doesn't matter, please do not write complexity expressions that indicate base-2 (or any other base).
DO: O(log n)
DON'T: O(lg n), O(log2 n), O(log_2 n), O(ln n), O(log10 n), etc.
-->
|insert_worst=O(log ''n'')
|