in DS
220 views
1 vote
1 vote

What is the content of the array after two delete operations on the binary heap  10 5 8 4 3?

  1. 5 4 3
  2. 5 3 4
  3. 10 5 8
  4. 8 4 3
     
in DS
by
220 views

4 Comments

Sir, it is not given which nodes are to be deleted. root node or leaf node.
Answer is according to the removal of root node .
I went for removal of leaf nodes as nothing was given.
1
1
deletion in heap if nothing is given then it should be root.
4
4
By default ?
0
0
yes.
2
2

1 Answer

1 vote
1 vote
Best answer

option a

selected by

1 comment

It is better to give explanation if u r answering..Only answering is not [email protected]
0
0
Answer:

Related questions