aznfy
V2EX  ›  Java

求问 Java 有没有封装好的 avl 树

  •  
  •   aznfy · Jul 17, 2017 · 4618 views
    This topic created in 3399 days ago, the information mentioned may be changed or developed.

    collection guava apache 求助

    Andiry
    Andiry
    Jul 17, 2017
    1
    不懂为什么要 avl 树
    平衡二叉树的话,TreeSet,TreeMap
    aznfy
    aznfy
    OP
    Jul 17, 2017
    2
    @Andiry 想实现一个 interval tree,= =
    clavichord93
    clavichord93
    Jul 17, 2017
    4
    为什么不用 RBTree 呢。。。AVL 效率太低了。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2156 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 14:28 · PVG 22:28 · LAX 06:28 · JFK 09:28
    ♥ Do have faith in what you're doing.