GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
33 views

The answer is given as 14.I calculated using Catalan number but the answer did not come as 14.

asked in Programming & DS by Active (1.2k points)   | 33 views
answer is coming as 14, it is right. see apply the formula 2nCn/n+1*(n!) now you need to multiply by n!  also as objects are different so you need to take into account the permutation as each tree would be distinct when u interchange the objects position as each of them is distinct.

Please log in or register to answer this question.

Related questions

0 votes
1 answer
1
+2 votes
1 answer
2
+2 votes
1 answer
3
Top Users Jan 2017
  1. Debashish Deka

    8322 Points

  2. sudsho

    5166 Points

  3. Habibkhan

    4718 Points

  4. Vijay Thakur

    4468 Points

  5. Bikram

    4420 Points

  6. saurabh rai

    4212 Points

  7. Arjun

    4072 Points

  8. santhoshdevulapally

    3732 Points

  9. Sushant Gokhale

    3514 Points

  10. GateSet

    3336 Points

Monthly Topper: Rs. 500 gift card

19,157 questions
24,065 answers
52,872 comments
20,288 users