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

AVL树中的高效自顶向下更新

Efficient top-down updates in AVL trees

Vincent Jugé

AI总结:

本文提出一种AVL树再平衡算法,首次实现自顶向下(固定前瞻)执行且每次更新仅需摊还常数次写操作,解决了自1962年以来的两个主要未解问题。

摘要:

自1962年AVL树发明以来,关于再平衡操作的两个主要未解问题(在其他平衡二叉搜索树中已有肯定答案)一直悬而未决:这些操作能否以自顶向下方式(具有固定前瞻)执行,以及每次更新能否使用摊还常数次写操作?我们提出了一种算法,对这两个问题均给出了肯定回答。

英文摘要:

Since AVL trees were invented in 1962, two major open questions about rebalancing operations, which found positive answers in other balanced binary search trees, were left open: can these operations be performed top-down (with a fixed look-ahead), and can they use an amortised constant number of write operations per update? We propose an algorithm that answers both questions positively.

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

↑