I have a character trie data structure which looks like this:
sealed class TrieNode(val children: MutableMap) { class NormalNode(kids: M