Exact string matching with Suffix Trie, adding child nodes to the suffix trie
I’m working on an Exact string matching with Suffix Trie, but I have problems in adding child nodes to the suffix trie as it keep returning null. I can’t figure out why my code keeps returning no matter I do anything.