Blue Yonder interview question

write program to insert an element in a heap.