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

Add Update, remove key for Trie #10

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

Conversation

k-sae
Copy link

@k-sae k-sae commented Dec 8, 2018

i have added the update and remove implementation for TrieNodeBase
the user can use
ITrie<int> trie = new Trie<int>();
trie.delete(key) // works
the rest of the algorithms delete and update were left unimplemented
ITrie<int> trie = new SuffixTrie<int>();
trie.delete(key) // throws unimplemented exception

add test casses for the condition key is a part of longer key
add remove to the iTrie interface
add unimpelemnted remove function for all the inherited tries
fix some bugs in the Remove functio
fix some backward uncompatibility with the add / remove tests
@k-sae k-sae closed this Dec 9, 2018
@k-sae k-sae reopened this Dec 9, 2018
@ShahJe
Copy link

ShahJe commented Sep 12, 2019

@k-sae Can you fix the CI build issue? I'm using this package would need Update and Remove.

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