5 votes 5 votes Answer given : 1935360 but I m getting 3225600 please check.. Programming in C min binary-heap + – vamp_vaibhav asked Dec 29, 2017 vamp_vaibhav 557 views answer comment Share Follow See all 7 Comments See all 7 7 Comments reply Ashwin Kulkarni commented Dec 29, 2017 reply Follow Share https://gateoverflow.in/86946/heap-__-me 1 votes 1 votes joshi_nitish commented Dec 29, 2017 reply Follow Share @Vaibhav, your answer is exactly correct, given answer is wrong. 1 votes 1 votes Ashwin Kulkarni commented Dec 29, 2017 reply Follow Share @nitish I know 1*2!*4! *8! doesn't include all trees but what am I missing then? 1 votes 1 votes joshi_nitish commented Dec 29, 2017 reply Follow Share @Ashwin, find no. of min heaps possible with 7 distinct elements {1,2,3,4,5,6,7} and mutiply the answer with 8!..you will get correct answer. 2 votes 2 votes vamp_vaibhav commented Dec 29, 2017 reply Follow Share Thnkew Joshi nitish... For clarification 0 votes 0 votes Ashwin Kulkarni commented Dec 29, 2017 reply Follow Share Okay got it now ! Thanks @nitish :) 1 votes 1 votes Anu007 commented Dec 29, 2017 reply Follow Share There is simple method: Toatl ways = 80 * 8! = 3225600 6 votes 6 votes Please log in or register to add a comment.