Examlex
(a) Set up a binary tree for the following list, in the given order, using alphabetical ordering: STOP, LET, THERE, TAPE, NONE, YOU, ANT, NINE, OAT, NUT.
(b) Explain step by step how you would search for the word TEST in your tree.
(c) What is the height of the shortest binary search tree that can hold all 10 words?
(d) Write the preorder traversal of the tree.
(e) Write the postorder traversal of the tree.
(f) Write the inorder traversal of the tree.
Q3: List all positive integers n such
Q12: Find the vertex-chromatic number, the edge-chromatic
Q24: What is the probability that a randomly
Q49: What language is generated by the phrase-structure
Q61: A club must elect a president, vice-president,
Q78: <span class="ql-formula" data-value="a _ { n }
Q130: An _ sequence is a sequence in
Q145: Let <span class="ql-formula" data-value="s _
Q164: <span class="ql-formula" data-value="- 2 , \frac {
Q182: <span class="ql-formula" data-value="6 x ^ { 3