Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript Algorithms and Data Structures 源码分析(9) -- 字典树 Trie | 会飞的菜虫 #8

Open
FlyingCaiChong opened this issue Dec 14, 2023 · 0 comments

Comments

@FlyingCaiChong
Copy link
Owner

http://flyingcc.cn/2023/12/14/data-structures-009-Trie/

字典树在计算机科学中, 字典树(trie,中文又被称为”单词查找树“或 ”键树“), 也称为数字树,有时候也被称为基数树或前缀树(因为它们可以通过前缀搜索),它是一种搜索树–一种已排序的数据结构,通常用于存储动态集或键为字符串的关联数组。 与二叉搜索树不同, 树上没有节点存储与该节点关联的键; 相反,节点在树上的位置定义了与之关联的键。一个节点的全部后代节点都有一个与该节点关联的通用的字符串前缀,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant