@Arjun Sir, I am having bit confusion in this question.
I am getting answer is C.
Here is my explanation
Since the heap tree is a having height d i.e. d edges from root to farthest.
So there will be d+1 number of levels apparently level 0,level 1 .... level d+1.
Its heap so its a complete binary tree as well.
At level 0, we will be having 20 = 1 node
At level 1, we will be having 21 = 2 nodes
At level 2, we will be having 22 = 4 nodes
.
.
.
.
At level d, we will be having 2d nodes
-------------------------------------------------------
Total number of nodes = 1 + 2 + 4 + - - - - - - - - - - + 2d
= 1*(2(d+1) - 1)/(2-1) = O(2d)
So now in such a heap if you will delete the root node,then it will take O(2d) to re-fix it efficiently.
So it think the answer should be (C) O(2d) but not O(d)
Please tell me if any mistake i did.
Thanks.