Skip to content

Commit 4ec6668

Browse files
fix(curriculum): correct grammar in Big O notation lecture (freeCodeCamp#64715)
Co-authored-by: Huyen Nguyen <[email protected]>
1 parent aa0b18e commit 4ec6668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curriculum/challenges/english/blocks/lecture-working-with-common-data-structures/68420c314cdf5c6863ca8330.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ In Big O notation, we usually denote input size with the letter `n`. For example
6464

6565
Constant factors and lower-order terms are not taken into account to find the time complexity of an algorithm based on the number of operations. That's because as the size of `n` grows, the impact of these smaller terms in the total number of operations performed will become smaller and smaller.
6666

67-
The term that will dominate the overall behavior of the algorithm will the term with `n`, the input size.
67+
The term that will dominate the overall behavior of the algorithm will be the highest order term with `n`, the input size.
6868

6969
For example, if an algorithm performs `7n + 20` operations to be completed, the impact of the constant `20` on the final result will be smaller and smaller as `n` grows. The term `7n` will tend to dominate and this will define the overall behavior and efficiency of the algorithm.
7070

0 commit comments

Comments
 (0)