1 votes 1 votes What is the content of the array after two delete operations on the binary heap 10 5 8 4 3? 5 4 3 5 3 4 10 5 8 8 4 3 DS go-ds-1 data-structures binary-heap + – Arjun asked Oct 10, 2016 Arjun 431 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Kapil commented Oct 13, 2016 reply Follow Share 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 votes 1 votes Digvijay Pandey commented Oct 13, 2016 reply Follow Share deletion in heap if nothing is given then it should be root. 4 votes 4 votes Kapil commented Oct 13, 2016 reply Follow Share By default ? 0 votes 0 votes Digvijay Pandey commented Oct 13, 2016 reply Follow Share yes. 2 votes 2 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes option a Hira Thakur answered Nov 8, 2016 selected Dec 12, 2016 by Digvijay Pandey Hira Thakur comment Share Follow See 1 comment See all 1 1 comment reply Habibkhan commented Nov 8, 2016 reply Follow Share It is better to give explanation if u r answering..Only answering is not suggested..@Psunny 0 votes 0 votes Please log in or register to add a comment.