Hash Table
April 26, 2024
1 min
a data structure to manage a set of strings
operations:
In a trie:
Space: O(total number of char of all words)
Time: O(len(word)) for each operations (add, startWith, search)
add(“tea”)
add(“ten”)
add(“to”)
add(“iin”)
startWith(“ii”) => true
startWith(“tem”) => false
Quick Links
Legal Stuff
Social Media