Hello, I learned Trie in my CS1 class, and implemented it. So, let me share my code!
My struct for trie looks like this
And, my code for creating single node, and inserting a word looks like this.
It is a bit long to put all codes here, so check out my Github Gist!