4 ms·
Dumb/obvious idea: Generate 7 random numbers, pick the index that had the highest value. (If theres a tie, run it again!) (Note: not guaranteed to terminate.)
by litewulf 18y ago
Dumb/obvious idea: Generate 7 random numbers, pick the index that had the highest value. (If theres a tie, run it again!)
(Note: not guaranteed to terminate.)