Arc Forumnew | comments | leaders | submitlogin
1 point by almkglor 5982 days ago | link | parent

The sort is indeed unnecessary, and the solution above is indeed the classic solution to the weighted random choice