Prefix search in a radix tree/patricia trie

后端 未结 4 1584
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-30 16:16

I\'m currently implementing a radix tree/patricia trie (whatever you want to call it). I want to use it for prefix searches in a dictionary on a severely underpowered piece

4条回答
  •  梦谈多话
    2020-12-30 16:40

    Another alternative algo is a ternary search tree (more memory efficient) https://github.com/varunpant/TernaryTree/tree/master/TernaryTree

提交回复
热议问题