GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
50 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.3k points)   | 50 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.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

Related questions

0 votes
1 answer
1
+2 votes
1 answer
2
+2 votes
1 answer
3


Top Users Apr 2017
  1. akash.dinkar12

    3660 Points

  2. Divya Bharti

    2580 Points

  3. Deepthi_ts

    2040 Points

  4. rude

    1966 Points

  5. Tesla!

    1768 Points

  6. Debashish Deka

    1614 Points

  7. Shubham Sharma 2

    1610 Points

  8. Prashant.

    1492 Points

  9. Arunav Khare

    1464 Points

  10. Arjun

    1464 Points

Monthly Topper: Rs. 500 gift card

22,086 questions
28,062 answers
63,294 comments
24,160 users