计算机科学 > 程序设计语言
[提交于 2014年12月16日]
标题:Simple Balanced Binary Search Trees
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:EPTCS[v1] 2014年12月16日 星期二 05:14:44 UTC