The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
172 views
3. The number of possible ordered trees with 3 nodes A, B, C is:
A)12

B)16

C)6

D)10
closed as a duplicate of: number of ordered trees
asked in Programming by Loyal (7.7k points)
closed by | 172 views
0
In case there are n nodes in a tree, then number of ordered trees(binary trees in which nodes are labelled) possible is (2nCn/(n+1))*n!
so according to the problem the answer should be 60

1 Answer

0 votes
none of the above
answered by Loyal (7.1k points)


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

36,194 questions
43,647 answers
124,088 comments
42,929 users