Draw a diagram showing inserting elements into a min heap, and write code for a function that does the same.
Anonymous
I drew a series of diagrams, showing each step of elements moving around in the heap, and wrote code for a function which did the same.
Check out your Company Bowl for anonymous work chats.