Building an Autocomplete System with Trie

Creating a Trie-based autocomplete system in TypeScript.