Prefix Trie
Hard · Data Structures
Insert words, then return sorted words starting with each prefix. Write runTrie(_:_:).
Next: Shortest Path
Hard · Data Structures
Insert words, then return sorted words starting with each prefix. Write runTrie(_:_:).
Next: Shortest Path