Better wording? [closes #10]

This commit is contained in:
Antti H S Laaksonen 2017-02-25 12:41:07 +02:00
parent af4499ecbd
commit b0ca108f16
1 changed files with 2 additions and 2 deletions

View File

@ -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}