Update Bucket-sort.md
parent
14c236d072
commit
b5693e46d9
|
@ -20,6 +20,7 @@ Algorithm :
|
||||||
2.Calculate the range of each bucket
|
2.Calculate the range of each bucket
|
||||||
|
|
||||||
range = (max - min) / n
|
range = (max - min) / n
|
||||||
|
|
||||||
n is the number of buckets
|
n is the number of buckets
|
||||||
|
|
||||||
3.Create n buckets of calculated range
|
3.Create n buckets of calculated range
|
||||||
|
|
Loading…
Reference in New Issue