Which data strucuture (list vs dictionary) is prefered to implement Trie

后端 未结 0 1266
悲&欢浪女
悲&欢浪女 2020-12-30 07:20

I am trying to implement a trie for the autocomplete algorithm, which requires a trie. Both list and dictionary can do the job. I wonder which one is prefered and what\'s th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题