mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 09:14:39 +02:00
Update asymptotic-notation.html.markdown
Fixing newlines hopefully. Hard to tell in the editor.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user