Math, asked by Pandaaastha8144, 11 months ago

Find number of permutations of a given sequence of integers which yield the same binary search tree

Answers

Answered by Anonymous
0

Step-by-step explanation:

where, BST refers to Binary Search Tree and BT refers to Binary Tree. therefore BT(n) = (C(2n,n)/n+1)*n! Total number of binary tree possible with 3 nodes are 30. Note:— If the nodes are unlabeled then Total number of binary tree with n nodes is equal to total number of BST with n nodes.

Answered by Anonymous
53

<body bgcolor="black">

\huge{\pink{\underline{\underline{\tt{Answer:--}}}}}

<font color="pink">

Binary Search Tree is a node-based binary tree data structure which has the following properties: The left subtree of a node contains only nodes with keys lesser than the node's key. The right subtree of a node contains only nodes with keys greater than the node's key.

Similar questions