prefix-tree
Basic prefix tree implementation question
I\'ve implemented a basic prefix tree or \"trie\".The trie consists of nodes like this: // pseudo-code[详细]
2023-03-13 10:44 分类:问答Typing Scala collections
I wanted to learn the new Scala collections framework by making a very general prefix tree. Not only must the keys and the values be parameters, but the type of the maps used in each node must be para[详细]
2023-02-05 23:37 分类:问答Creating and storing a prefix tree on iPhone before runtime
I\'m currently making a word game for iOS that, when loading, reads in a text file of around 30000 words and loads them into a prefix tree for quick searching during gameplay.This works well, but the[详细]
2023-01-31 17:15 分类:问答How to deallocate memory in prefix tree? (ANSI C)
I tried to deallocate memory in dict_free() function, but it doesn\'t work and I don\'t no why. Am I missing something? Can\'t figure out, what\'s wrong.[详细]
2023-01-17 01:09 分类:问答