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

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