New references etc.
This commit is contained in:
parent
702f5ac9c3
commit
c18f6a808f
9 changed files with 61 additions and 132 deletions
|
|
@ -326,7 +326,8 @@ of the algorithm is at least $O(n^2)$.
|
|||
It is possible to sort an array efficiently
|
||||
in $O(n \log n)$ time using algorithms
|
||||
that are not limited to swapping consecutive elements.
|
||||
One such algorithm is \key{mergesort}
|
||||
One such algorithm is \key{mergesort}\footnote{According to \cite{knu98},
|
||||
mergesort was invented by J. von Neumann in 1945.}
|
||||
that is based on recursion.
|
||||
|
||||
Mergesort sorts a subarray \texttt{t}$[a,b]$ as follows:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue