Hacker News new | ask | show | jobs
by litewulf 6409 days 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.)