Two Sigma interview question

construct a median heaps