Bucket Sort: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Sorting Algorithms =Overview= <font color=darkgray>Require knowledge of the probabilistic distribution...")
 
Line 6: Line 6:


<font color=darkgray>Require knowledge of the probabilistic distribution of the number in the input array. It can sort n real numbers uniformly distributed in the half-open interval [0, 1) in average-case O(n) time.</font>
<font color=darkgray>Require knowledge of the probabilistic distribution of the number in the input array. It can sort n real numbers uniformly distributed in the half-open interval [0, 1) in average-case O(n) time.</font>
{|
| [[Algorithm_Complexity#Worst-case_Running_Time|Worst-case time]] || Θ(n<sup>2</sup>)
|-
|  [[Algorithm_Complexity#Average-case_Running_Time|Average-case time]] || Θ(n))
|-
| [[Algorithm_Complexity#Best-case_Running_Time|Best-case time]] ||
|}

Revision as of 00:57, 10 August 2018

Internal

Overview

Require knowledge of the probabilistic distribution of the number in the input array. It can sort n real numbers uniformly distributed in the half-open interval [0, 1) in average-case O(n) time.

Worst-case time Θ(n2)
Average-case time Θ(n))
Best-case time