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.
所以我已经阅读了堆,我理解了基本概念,
但不是如何实际实施它。
基本上,我的问题是
你怎么知道在哪里放置一个新节点?
删除时如何知道用哪个节点替换根?