V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
aznfy
V2EX  ›  Java

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

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

    collection guava apache 求助

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