pranavcode/pseudo-rand
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
pseudo-rand ----------- Problem: Randomly distribute fixed number of objects into fixed number of buckets. Each bucket should atleast have an object. Solution Algorithm: 1) Put one object into each bucket. 2) For each remaining object put it into randomly selected bucket.