which will be more efficient in terms of time and space complexity for multiple queries of "searching a given word" from set of words? Trie or unordered_set or set?
trie vs unordered_set for string searching
which will be more efficient in terms of time and space complexity for multiple queries of "searching a given word" from set of words? Trie or unordered_set or set?