Can ternary search trees be used for every word?

45 Views Asked by At

A node has three children, left, right, and middle, but what if those are occupied? Then what? And by a different character? If the root is 'b', and I try to insert cecil and dock, then what will I do?

0

There are 0 best solutions below