Intel Corporation interview question

Q: had to implement a min-heap