Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
heynk
· 8y ago · 0 comments
If it's "arbitrarily chosen", but the result is always the same regardless of order, what is the algorithm that decides?
Comments
[–]
zachallaun
8y ago
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.