Hacker News new | ask | show | jobs
by heynk 3061 days ago
If it's "arbitrarily chosen", but the result is always the same regardless of order, what is the algorithm that decides?
1 comments

There's different ways you could do it, like calculating some hash of the value and picking the one with the greater value. If the hash function is good, then you get an "arbitrary" result that would still be consistent regardless of order.