edited by
2,557 views
20 votes
20 votes
Draw all binary trees having exactly three nodes labeled $A, B$ and $C$ on which preorder traversal gives the sequence $C, B, A$.
edited by

1 Answer

Best answer
25 votes
25 votes

$5$ Binary trees.

edited by

Related questions

25 votes
25 votes
6 answers
2
Kathleen asked Sep 15, 2014
14,787 views
In the worst case, the number of comparisons needed to search a single linked list of length $n$ for a given element is$\log n$$\frac{n}{2}$$\log_2 {n} - 1$$n$
18 votes
18 votes
2 answers
3