Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b2142b1

Browse files
fixed special characters
1 parent bf3a5cb commit b2142b1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

‎_posts/2013-01-17-2.2-the_big_oh_notation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ We are not concerned about small values of n (i.e., anything to the left of n0).
3333

3434
* addition: the sum of two functions is governed by the dominant one
3535

36-
O(f(n)) + O(g(n)) O(max(f(n), g(n)))
36+
O(f(n)) + O(g(n)) => O(max(f(n), g(n)))
3737

3838
* constant multiplication: can be ignored (if c>0)
3939

4040
* multiplication: both operands are important:
4141

42-
O(f(n)) * O(g(n)) O(f(n) * g(n))
42+
O(f(n)) * O(g(n)) => O(f(n) * g(n))

‎_posts/2013-01-20-2.3-dominance_relations.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ title: 2.3 Growth Rates and Dominance Relations
66
## Growth rates
77

88
The growth rate of its time complexity functions can easily render an algorithm impractical even for relatively small inputs. Below are some complexity functions and the input ranges where they become unusable:
9-
10-
* O(n!) ~ n 20
11-
9+
10+
* O(n!) ~ n > 20
11+
1212
* O(2^n) ~ n > 40
13-
13+
1414
* O(n^2) ~ n > 100,000
15-
16-
* O(n) and O(n lg n) ~ n > 1 bn
1715

18-
* O(lg n) ~ any imaginable n
16+
* O(n) and O(n lg n) ~ n > 1 bn
17+
18+
* O(lg n) ~ any imaginable n
1919

2020
## Dominance relations
2121

22-
* the Big Oh notation groups functions into a set of classes.
22+
* the Big Oh notation groups functions into a set of classes.
2323
* functions belonging to each class are considered equal with respect to Big Oh
2424
* a faster-growing function class dominates a slower-growing one
2525

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /