trieDS_serializable
This is a library for the trie data structure which can be converted to/from a list of strings. a user can do the following:
- Create a trie using a list of words or an empty trie.
- insert words to the trie.
- convert the trie to a list of words.
- check how many words in the trie have a given prefix.
- check if a given word is present in the trie.
- Convert the trie to a string i.e. serialize the trie.
- Create a trie using a string representing the trie.
Note: Serialization of the trie to a string makes use of special characters '>' and ']'. The user is expected to not use these symbols in words that are to be inserted to the trie.
Test data taken from https://github.com/dwyl/english-words
written in c++.