4 votes 4 votes The number of distinct max heap are possible with keys 1, 2, 3, 4, 5 are ________. DS binary-heap algorithms data-structures + – MIRIYALA JEEVAN KUMA asked Jan 20, 2018 MIRIYALA JEEVAN KUMA 936 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply vishal chugh commented Jan 20, 2018 reply Follow Share Is it 8? 1 votes 1 votes Akshay Koli 4 commented Jan 20, 2018 reply Follow Share i'm getting 8? 1 votes 1 votes Avdhesh Singh Rana commented Jan 20, 2018 reply Follow Share https://gateoverflow.in/91131/max-heap 2 votes 2 votes Please log in or register to add a comment.
4 votes 4 votes Total ways to arrange data is in 5 nodes is 5!. Divide it by 5 as we have 5 nodes in descendant in of root including itself. Similarity 3 in root left child as we have 3 descendant for it including itself. Source : https://youtu.be/1U3loHkX5XE?t=2260 smsubham answered Feb 18, 2018 smsubham comment Share Follow See 1 comment See all 1 1 comment reply shubham shende commented Nov 20, 2019 reply Follow Share thanks for video 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes Ans is 8 OO7 answered May 26, 2018 OO7 comment Share Follow See all 3 Comments See all 3 3 Comments reply iarnav commented Jun 24, 2018 reply Follow Share You sure, this is a correct approach, Bhai @OO7? 0 votes 0 votes OO7 commented Jun 24, 2018 reply Follow Share I solve most of the questions of this type with this approach and they satisfy with the given answers @iarnav 0 votes 0 votes iarnav commented Jun 24, 2018 reply Follow Share Okay! :) 0 votes 0 votes Please log in or register to add a comment.