trie vs unordered_set for string searching

Revision en1, by imsaurabhj, 2022-05-12 16:50:59

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?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English imsaurabhj 2022-05-12 16:50:59 206 Initial revision (published)