Skip to content

Rurouni-Jiaxin/AutoCompleteCPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoCompleteCPP

Given the prefix, this CLI tool will print out all matching words in the given .txt file This is my attempt to solve the problem using the Trie data structure with BFS. I tried to perform BFS using more than one thread, cannot achieve any increase in performance, it only got slower. Maybe I should not have used shared memory, but sharing messages instead ?

The timer is borrowed from my friend Jakob: https://github.com/Jakobimatrix/timer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published