Add the "Weighted Random" algorithm (#792)

* Add the link to the Weighted Random algorithm to the main README.

* Add Weighted Random implementation and tests.

* Add Weighted Random README.

* Add Weighted Random README.

* Add Weighted Random README.
This commit is contained in:
Oleksii Trekhleb
2021-10-22 09:56:44 +02:00
committed by GitHub
parent d0576a2594
commit 99945f30de
4 changed files with 259 additions and 0 deletions

View File

@@ -156,6 +156,8 @@ a set of rules that precisely define a sequence of operations.
* `B` [k-Means](src/algorithms/ml/k-means) - k-Means clustering algorithm
* **Image Processing**
* `B` [Seam Carving](src/algorithms/image-processing/seam-carving) - content-aware image resizing algorithm
* **Statistics**
* `B` [Weighted Random](src/algorithms/statistics/weighted-random) - select the random item from the list based on items' weights
* **Uncategorized**
* `B` [Tower of Hanoi](src/algorithms/uncategorized/hanoi-tower)
* `B` [Square Matrix Rotation](src/algorithms/uncategorized/square-matrix-rotation) - in-place algorithm