Answer to Question heap-4

          8
         / \
        /   \
       10    9
      /  \
    20    50