标签: java
标准Java SDK是否开箱即用表示自平衡二进制搜索树的类?
答案 0 :(得分:0)
TreeMap和TreeSet(假设它只是在后台使用TreeMap)
TreeMap implements NavigableMap interface and bases it’s internal working on the principles of red-black trees