Amazon Interview Question

Implementing a min heap and its operations