Skip to content

Commit b0a7ab1

Browse files
authored
fix: typo
1 parent 4a89951 commit b0a7ab1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

courses/algorithms/02-analysis/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ Trying to be mathematicaly correct, the number of instructions the first one sho
8080

8181
To simplify, we remove the constants and the lower order terms:
8282

83-
1. $$ f(n) = n $$
84-
2. $$ f(n) = n^2 $$
85-
3. $$ f(n) = n! $$
83+
1. $f(n) = n$
84+
2. $f(n) = n^2$
85+
3. $f(n) = n!$
8686

8787
## Difference between Big O vs Big Theta Θ vs Big Omega Ω Notations
8888

@@ -97,14 +97,14 @@ To simplify, we remove the constants and the lower order terms:
9797
- Upper bound;
9898
- "never worse than";
9999
- A real case cannot be faster than it;
100-
- $ 0 <= func <= O $
100+
- $0 <= func <= O$
101101

102102
### Big Theta Θ
103103

104104
- Wrongly stated as average;
105105
- Theta is two-sided;
106106
- Tight bound between 2 constants of the same function
107-
- $ k1*Θ <= func <= k2*Θ $
107+
- $k1*Θ <= func <= k2*Θ$
108108
- When $N$ goes to infinite, it cannot be faster or slower than it;
109109

110110
### Honorable mentions

0 commit comments

Comments
 (0)