this post was submitted on 13 Jul 2024
371 points (100.0% liked)
196
16087 readers
1789 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
B is correct if you get Microsoft to code the random selector: https://www.robweir.com/blog/2010/02/microsoft-random-browser-ballot.html
Bubble sort the alternatives with a RNG for comparison function and pick the alternative that ends up in first position.