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.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Deestan@lemmy.world 6 points 1 month ago* (last edited 1 month ago)

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.