Level: Intermediate-Advance
Topic: Plain Loops
Who Wins: One who
accomplishes this task with least number of iterations
Short Description: Create a method such that it is capable of populating enum property all objects in a list with random values based on pre-defined ratio
Puzzle Details:
Let’s say I’ve a following enum and a class: