0 votes 0 votes In a heap, every element is ___________ of all the elements in the subtree. maximum minimum sum product DS ugcnetcse-dec2008-paper2 data-structures binary-heap + – rishu_darkshadow asked Sep 26, 2017 edited Jun 19, 2020 by soujanyareddy13 rishu_darkshadow 1.2k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Ambiguous Answer, Both Option A and B valid. If it is MAX Heap the every element is MAX of all elements in its subtree. If it is MIN Heap the every element is MIN of all elements in its subtree. bhuv answered Sep 26, 2017 bhuv comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes It depends which type of heap it is.. If maxheap then ans is A and if minheap then ans is B Devendra Patel answered Sep 26, 2017 Devendra Patel comment Share Follow See all 0 reply Please log in or register to add a comment.