mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update asymptotic-notation.html.markdown
Fixing newlines hopefully. Hard to tell in the editor.
This commit is contained in:
parent
a5283ebff1
commit
44e0d3a859
@ -75,8 +75,8 @@ f(n) = 3log n + 100
|
||||
g(n) = log n
|
||||
```
|
||||
|
||||
Is `f(n)` O(g(n))?
|
||||
Is `3 log n + 100` O(log n)?
|
||||
Is `f(n)` O(g(n))?
|
||||
Is `3 log n + 100` O(log n)?
|
||||
Let's look to the definition of Big-Oh.
|
||||
```
|
||||
3log n + 100 <= c * log n
|
||||
|
Loading…
Reference in New Issue
Block a user