June LeetCoding Challenge
-
Updated
Jun 13, 2020 - Python
June LeetCoding Challenge
A simple function which takes a map of weighted options and picks one at random. This might be useful for a lottery or raffle where participants might have multiple tickets.
Add a description, image, and links to the random-pick-with-weight topic page so that developers can more easily learn about it.
To associate your repository with the random-pick-with-weight topic, visit your repo's landing page and select "manage topics."