3 ms·
How fast are (small) updates to the trie? (Does the trie need to be recomputed from scratch?)
by amelius 11y ago
How fast are (small) updates to the trie? (Does the trie need to be recomputed from scratch?)
- wfunction 11y agoGood call! Apparently it's a static, not dynamic, data structure. http://kmike.ru/python-data-structures/ http://kmike.ru/python-data-structures/
- madisonmay 11y agoSo in other words, O(n) where n is the number of elements in the trie? That's rough.