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.
我正在尝试实现 3-4-5-6 树。如果合并导致根只有一个键(下溢),并且其子项的键总数大于 5(所以如果全部合并在一起,就会发生下溢),会发生什么?
拆分根的子节点,以便最终得到一个“合法”根节点和两个“合法”子节点。