I was asked this question in an interview recently.
There are N numbers, too many to fit into memory. They are split across k database tables (unsorted), each of whi
There's a few potential solutions:
For more details and implementation see:
http://www.fusu.us/2013/07/median-in-large-set-across-1000-servers.html