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 time complexity of the algorithm is $O(n^3)$,
|
||||
because it consists of three nested loops and
|
||||
each loop contains $O(n)$ steps.
|
||||
because it consists of three nested loops
|
||||
that go through the input.
|
||||
|
||||
\subsubsection{Algorithm 2}
|
||||
|
||||
|
|
Loading…
Reference in New Issue