Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix trie/starts_with #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nic11371
Copy link

@nic11371 nic11371 commented Dec 9, 2024

Hello. I decided to fix your method starts_with by class PrefixTree. I put your class in my decisions and found that your method only returns a list of the last characters from each word in the tree. I fixed it and now the method returns a list of words found by prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant