Roblox interview question

Prefix string problem using a Trie data structure