My implementation of a simple trie structure using lists for data storage
The main idea came from this code snippet: http://pythonfiddle.com/python-trie-implementation/ I wanted to make something similar but based on lists instead of dictionaries (just for the sake of fun). I've used Pylint for code linting, and Pytest for the unit tests
To be added later
You can find some examples in the ExampleUsage.py code. Creating a Trie instance:
import TrieStruct
trie = TrieStruct.Trie()
Add a single word to the Trie:
trie.insert_multiple_words(["0903127"])
Add collection of words to the Trie
words_to_insert = ["0902123456", "0904126345", "12345678", "12356", "26736"]
trie.insert_multiple_words(words_to_insert)
To be added later
To be added later
Gabor Patassy – patex1987@gmail.com
https://github.com/patex1987
To be added later