Better wording? [closes #10]
This commit is contained in:
parent
af4499ecbd
commit
b0ca108f16
|
@ -443,8 +443,8 @@ and the sum of the numbers is calculated to the variable $s$.
|
||||||
The variable $p$ contains the maximum sum found during the search.
|
The variable $p$ contains the maximum sum found during the search.
|
||||||
|
|
||||||
The time complexity of the algorithm is $O(n^3)$,
|
The time complexity of the algorithm is $O(n^3)$,
|
||||||
because it consists of three nested loops and
|
because it consists of three nested loops
|
||||||
each loop contains $O(n)$ steps.
|
that go through the input.
|
||||||
|
|
||||||
\subsubsection{Algorithm 2}
|
\subsubsection{Algorithm 2}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue