arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.4882cs.PLcs.DS
收藏

简单平衡二叉查找树

Simple Balanced Binary Search Trees

Prabhakar Ragde

摘要:

集合和映射(字典)的有效实现在计算机科学中很重要,而平衡二叉搜索树是最佳实际实现的基础。然而,在教学上,它们往往相当复杂,特别是在删除方面。我提出了完整的代码(理由和分析以前没有在文献中)的纯功能的实现AA树的基础上,这是最简单的治疗的主题,我知道。

英文摘要:

Efficient implementations of sets and maps (dictionaries) are important in computer science, and balanced binary search trees are the basis of the best practical implementations. Pedagogically, however, they are often quite complicated, especially with respect to deletion. I present complete code (with justification and analysis not previously available in the literature) for a purely-functional implementation based on AA trees, which is the simplest treatment of the subject of which I am aware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑