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 种数据结构:
0所有节点都有精确或子节点的k-ary树k?
0
k
一棵所有叶子都在同一高度的树?
一棵只有叶子包含数据的树(“空”内部节点)?
我正在寻找广为流传且行之有效的形容词,图论中的每个人都能理解。
我认为这是做不到的,假设我们有三叉树,当你放第一个元素时,第一条规则就被打破了,所以你没有 3 个孩子。也可以证明你想要的东西是不可能的