aznfy
V2EX  ›  Java

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

  •  
  •   aznfy · Jul 17, 2017 · 4649 views
    This topic created in 3414 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   ·   932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:13 · PVG 04:13 · LAX 12:13 · JFK 15:13
    ♥ Do have faith in what you're doing.