Content deleted Content added
Nils Grimsmo (talk | contribs) m > --> < |
Nils Grimsmo (talk | contribs) m Insertion sort --> bubble sort. |
||
Line 6:
==Examples==
===
[[
Program sort2
Line 23:
end
===
[[Merge sort]] the array using a constant time merge. Using <math>\Theta(\log n)</math> time and <math>\Theta(n^2)</math> processors. In this example, a value may be written many times simultaneously, and values might be duplicated, since we are not carefull with the <code><=</code> operator. If you expand the <code>a,b</code> quantification, you can get CREW [[PRAM]] complexity.
|