Location: Seattle
Question:
Find median of an unsorted array. I gave him multiple solutions. He asked me to implement the quick select implementation - which i did.
Follow-up:
He asked me if there are billion numbers which are distributed across multiple nodes. How will i find out the median in an efficient way. I struggled a lot on this.