How can I go about listing the words a TST contains in an alphabetical order?
Unlike BSTs where an in-order traversal will do the trick, this won't work TST. Neither would pre-order nor post-order traversals.
More so, the nodes of TST contain alphabets not words as opposed to the nodes of some BST implementation. And there are some alphabets which not be included when moving from the left nodes to right nodes.
I can seem to get my head around it.
The figure below show the list of words of a TST in alphabetical order.
Image from: http://www.geeksforgeeks.org/ternary-search-tree/