5 5 votes The number of distinct max heap are possible with keys 1, 2, 3, 4, 5 are ________. Data Structures binary-heap algorithms data-structures + – MIRIYALA JEEVAN KUMA 1.7k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply vishal chugh commented Jan 20, 2018 reply Follow flag Is it 8? 1 1 replyShare Akshay Koli 4 commented Jan 20, 2018 reply Follow flag i'm getting 8? 1 1 replyShare Avdhesh Singh Rana commented Jan 20, 2018 reply Follow flag https://gateoverflow.in/91131/max-heap 2 2 replyShare Please log in or register to add a comment.
4 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 1 1 comment reply shubham shende commented Nov 20, 2019 reply Follow flag thanks for video 1 1 replyShare Please log in or register to add a comment.
0 0 votes Ans is 8 OO7 answered May 26, 2018 OO7 comment Share Follow See all 3 Comments 3 3 Comments reply iarnav commented Jun 24, 2018 reply Follow flag You sure, this is a correct approach, Bhai @OO7? 0 0 replyShare OO7 commented Jun 24, 2018 reply Follow flag I solve most of the questions of this type with this approach and they satisfy with the given answers @iarnav 0 0 replyShare iarnav commented Jun 24, 2018 reply Follow flag Okay! :) 0 0 replyShare Please log in or register to add a comment.