I've been presented with the question...
"Convert the following list into a heap: 12 19 33 26 29 35 22"
I figure that this can be accomplished a few ways.
1) moved into memory that is dymanically allocated
2) pushed onto a stack (a specific implementation of step I presume)
Am I correct in this assumption?
What would be your approach if you were asked this question.
Thanks in advance,