mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +08:00
Add Weighted Random cover.
This commit is contained in:
parent
99945f30de
commit
17bfb551c0
@ -1,5 +1,7 @@
|
||||
# Weighted Random
|
||||
|
||||
![Weighted Random](images/cover.png)
|
||||
|
||||
## What is "Weighted Random"
|
||||
|
||||
Let's say you have a list of **items**. Item could be anything. For example, we may have a list of fruits and vegetables that you like to eat: `[ '🍌', '🍎', '🥕' ]`.
|
||||
|
BIN
src/algorithms/statistics/weighted-random/images/cover.png
Normal file
BIN
src/algorithms/statistics/weighted-random/images/cover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 296 KiB |
Loading…
Reference in New Issue
Block a user