Step1. Build a min heap which contains \({\bf{7}}\) nodes where each node may be a root of a tree with single node

Step2.Extract two nodes of least frequency from min heap. Add a replacement internal node with the sum of their frequency.
The frequency of new node is: \({\bf{0}}{\bf{.05 + 0}}{\bf{.07 = 0}}{\bf{.12}}\).

Therefore, the heap becomes

Step3.Extract two nodes of least frequency from min heap. Add a replacement internal node with the sum of their frequency.
The frequency of new node is:\({\bf{0}}{\bf{.10 + 0}}{\bf{.08 = 0}}{\bf{.18}}\).

Hence, the heap becomes

Step4.Extract two nodes of least frequency from min heap. Add a replacement internal node with the sum of their frequency.
The frequency of new node is: \({\bf{0}}{\bf{.12 + 0}}{\bf{.15 = 0}}{\bf{.27}}\).

Consequently, the heap becomes

Step5.Extract two nodes of least frequency from min heap. Add a replacement internal node with the sum of their frequency.
The frequency of new node is:\({\bf{0}}{\bf{.18 + 0}}{\bf{.25 = 0}}{\bf{.42}}\).

So, the heap becomes

Step6.Extract two nodes of least frequency from min heap. Add a replacement internal node with the sum of their frequency.
The frequency of new node is:\({\bf{0}}{\bf{.27 + 0}}{\bf{.30 = 0}}{\bf{.57}}\).

Thereafter, the heap becomes

Step7.Finally, Extract two nodes of least frequency from min heap. Add a replacement internal node with the sum of their frequency.
The frequency of new node is\({\bf{0}}{\bf{.43 + 0}}{\bf{.57 = 1}}{\bf{.00}}\).
Therefore, the final heap becomes.