The number of ways in which the numbers 1,2,3,4,5,6,7 can be inserted in an empty binary search tree, such that the resulting tree has height 6, is .Note: The height of a tree with a single node is 0.
GATE CS 2016 · Set-2 · Arrays & Matrix Representation
Solve it on GATE DA practice →More Basic Data Structures problems