root: a
children of a: q _
children of q: p c
children of c: b e
children of b: _ d
Show the contents of a one-array implementation of the tree. Start with element 0 of the
array. Put exactly one space between array elements. If an array element is empty indicate it with
an underscore, i.e., "_". All letters should be lowercase.
Show the contents of a three-array implementation of the tree.
root: a
children of a: b c d
children of b: e
children of c: f g
children of d: h i j k
children of h: l m n
Convert the k-ary tree to a binary tree T3. Then answer the
following questions about T3.
What is the height of T3?