Efficient URL routing using a Trie data structure.