Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们可以为此使用 AVL 树吗,以便根元素是任意点的中位数
不,AVL 树是高度平衡的,你需要一个重量平衡的树。