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.
我正在寻找至少有 4 个节点的两种不同的搜索树。树不必具有一般的搜索树属性。
树 A 的后序和前序必须与树 B 的后序和前序相同。
我真的不明白如何做到这一点,所以两棵树都不相同。
感谢任何提示。