Hacker News new | ask | show | jobs
by damianknz 3729 days ago
If you know the range of numbers then I'd do a binary search. Get each server to count how many are higher or lower. Play the high low game. When the two totals are the same you're done. I think this covers the authors edge cases too. :-)