The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+5 votes
143 views

Answer given : 1935360 but I m getting 3225600 please check.. 

asked in Programming by Active (3.5k points) | 143 views
+1
+1
@Vaibhav,

your answer is exactly correct, given answer is wrong.
+1
@nitish

I know

1*2!*4! *8! doesn't include all trees but what am I missing then?
+2
@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.
0
Thnkew Joshi nitish... For clarification
+1
Okay got it now ! Thanks @nitish :)
+6

There is simple method:

Toatl ways = 80 * 8! = 3225600

Please log in or register to answer this question.

Related questions

+2 votes
0 answers
4
asked Feb 1, 2017 in Programming by S Ram Active (2k points) | 230 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
48,725 questions
52,831 answers
183,518 comments
68,656 users