Question: If we put 15 in the root, what would be the process of heapify?

```
            85
            /\
           /  \
          /    \
        55      70
        /\      /\
       /  \    /  \
      22  33  30  65
     /\   /
   14 15 15

```

What should be the way to delete 85 from the Heap?

Answer: 
As you are always swapping it with the larger of the two (heap property means that the parent is always larger than its children):

```
            15
            /\
           /  \
          /    \
        55      70
        /\      /\
       /  \    /  \
      22  33  30  65
     /\   
   14 15

            70
            /\
           /  \
          /    \
        55      15
        /\      /\
       /  \    /  \
      22  33  30  65
     /\   
   14 15

            70
            /\
           /  \
          /    \
        55      65
        /\      /\
       /  \    /  \
      22  33  30  15
     /\   
   14 15

```
To add you put the new value as last (right to 20 in your example), and then you try to fix the heap, that is compare it with his parent, if it is larger the swap and compare again until no swap is needed (or you get to root)

In order to delete you remove you replace the last object (15 in you example) and fix the heap downward.