<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Samplesort - Page 4 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Samplesort&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Samplesort&amp;p=5">3.Next</a>
</p>
<p>defines a bucket.<br/>
# Loop over the data, placing each element in the appropriate bucket. (This may mean: send it to a processor, in a <a href="page.php?w=multiprocessor">multiprocessor</a> system.)<br/>
# Sort each of the buckets.</p>

<p>The full sorted output is the concatenation of the buckets.</p>

<p>A common strategy is to set  equal to the number of processors available. The data is then distributed among the processors, which perform the sorting of buckets using some other, sequential, sorting algorithm.</p>

<p><big> Pseudocode </big></p>
<p>The</p><p>
<a accesskey="1" href="page.php?w=Samplesort&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Samplesort&amp;p=5">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
