GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
55 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.4k points)   | 55 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 May 2017
  1. akash.dinkar12

    3308 Points

  2. pawan kumarln

    1884 Points

  3. Bikram

    1656 Points

  4. sh!va

    1640 Points

  5. Arjun

    1396 Points

  6. Devshree Dubey

    1272 Points

  7. Debashish Deka

    1162 Points

  8. Angkit

    1048 Points

  9. LeenSharma

    1010 Points

  10. Arunav Khare

    754 Points

Monthly Topper: Rs. 500 gift card
Top Users 2017 May 22 - 28
  1. Bikram

    742 Points

  2. pawan kumarln

    510 Points

  3. Arnab Bhadra

    490 Points

  4. bharti

    304 Points

  5. LeenSharma

    248 Points


22,832 questions
29,158 answers
65,233 comments
27,673 users