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

test: Expand Trie.ts coverage #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MarcosTypeAP
Copy link

I created a Trie that passes the tests, but when I delete a word that forms an entire branch (where the last node is a leaf), it starts deleting nodes with only one child until it finds a node with more children, instead of stopping when it reaches a node indicating the end of a word.

I created a Trie that passes the tests, but when I delete a word that forms an entire branch (where the last node is a leaf), it starts deleting nodes with only one child until it finds a node with more children, instead of stopping when it reaches a node indicating the end of a word.
clvnkhr added a commit to clvnkhr/kata-machine that referenced this pull request Jun 25, 2023
Co-authored-by: Alfredo Delgado <[email protected]>
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.

2 participants