Deprecated: Implicit conversion from float-string "1577632270.866" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1577632270.866" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1577632270.866" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1577632270.866" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1577632270.866" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1602365927.069" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1602365927.069" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1602365927.069" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1602365927.069" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1602365927.069" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
DS: GATE CSE 2007 | Question: 13
edited by
31,631 views
29 votes
29 votes

The maximum number of binary trees that can be formed with three unlabeled nodes is:

  1. $1$
  2. $5$
  3. $4$
  4. $3$
edited by

3 Answers

Best answer
33 votes
33 votes

Can be found with formula... $(2nCn/n+1)$... $n$ being the number of nodes. for the given question... where $n=3$... answer is $5$. Let me also specify here.. that number of Binary Search Trees with $n$ nodes is equal to number of unlabeled Binary trees.

http://gatecse.in/wiki/Number_of_Binary_trees_possible_with_n_nodes

Correct Answer: $B$

edited by
0 votes
0 votes
Answer is 5.

By using 2ncn/(n+1) used for finding the number of unlabelled trees.
Answer:

Related questions

8.5k
views
4 answers
29 votes
Kathleen asked Sep 21, 2014
8,522 views
Consider the following C program segment where $CellNode$ represents a node in a binary tree:struct CellNode { struct CellNode *leftChild; int element; struct CellNode *r...
7.6k
views
3 answers
17 votes
Kathleen asked Sep 21, 2014
7,644 views
The inorder and preorder traversal of a binary tree are$\text{d b e a f c g}$ and $\text{a b d e c f g}$, respectivelyThe postorder traversal of the binary tree is:$\text...
25.8k
views
4 answers
26 votes
Kathleen asked Sep 21, 2014
25,752 views
The height of a binary tree is the maximum number of edges in any root to leaf path. The maximum number of nodes in a binary tree of height $h$ is:$2^h -1$$2^{h-1} -1$$2^...
19.5k
views
5 answers
75 votes
Kathleen asked Sep 21, 2014
19,470 views
Consider the process of inserting an element into a $Max \: Heap$, where the $Max \: Heap$ is represented by an $array$. Suppose we perform a binary search on the path fr...