title: Create a heap by inserting the following elements in the order
body: <p>The question:</p>
  
  <blockquote>
    <p>Create a heap by inserting the following elements in the order that they are given.
    Show the heap after each insertion and trickle. (The heap should be implemented to keep the
    highest key value at the top.)</p>
  
  <pre><code>5 4 6 7 9 8 1 2 3
  </code></pre>
    
    <p>Once you have finished creating the heap, remove each element from it.
    Show the heap after each removal and trickle. Indicate which element has been removed in each
    step.</p>
  </blockquote>
  
  <p>I know how to insert an element into the heap, but how to create it ? And I am really not sure how to remove the element from the heap.</p>