I wanted some clarification on Tries, so if I have an array:
var array = ["dog", "cat", "bird"]
And I insert these elements into the trie, the trie converts these strings to arrays of the characters of the strings and makes the child node, the first letter of the word? Is my understanding correct?
For example “dog” would be converted to [“d”, “o”, “g”] upon insertion and d would be the direct child to the root node?
Thank you for any feedback.