Two Sigma Interview Question

construct a median heaps