This commit is contained in:
louiscklaw
2025-01-31 21:15:04 +08:00
parent 3337cc3d1e
commit acf9d862ff
324 changed files with 43162 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
To determine the complexity of the given expression, we need to analyze the number of operations it performs.
The expression is: $5n + 10n^2 = O(n^2)$
In this expression, there are two terms: $5n$ and $10n^2$. The term with the highest power of $n$ dominates the complexity, which in this case is $10n^2$.
Since the highest power of $n$ is $n^2$, the complexity of the expression is $O(n^2)$.
Therefore, the statement is **true**.