NVIDIA Interview Question

They asked me to implement a min-heap from scratch with insert and extractMin operations.