Skip to content

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 <alfredo.delgado@gmail.com>
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