What will be the structure of a trie for words which have subwords like "icecream" (contains 'i', 'ice', 'cream', 'icecream'); "businessman" (contains 'bus', 'is', 'business', 'man', 'businessman').
I know how will it be for those which do not have subwords like "inn" but I am confused for the above words.
Thanks in advance.