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 delete 85 which is root here.

1. You can replace with the last leaf (**15**).
2. Heapify Again [link to build heap](https://www.tutorialspoint.com/design_and_analysis_of_algorithms/design_and_analysis_of_algorithms_heapify_method.htm)