腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(9999+)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
用正交线绘制层次树( HV-Drawing -
Binary
Tree
)
我需要绘制一个层次树结构(HV-绘图-二叉树)与根和子代之间的正交线(直的矩形连接线)(就像下面的: )。我想知道是否有像这样的树绘制算法的开放源码示例,以便我可以在actionscript中实现相同的算法。谢谢Palash
浏览 0
修改于2010-05-24
得票数 1
1
回答
C#
Binary
Search
Tree
<T>删除
(
tree
.Data) < 0) else if (item.CompareTo(
tree
.Dataif (
tree
== null) if (item.CompareTo(
tree
.Data) < 0)(item, ref
tree
.Right);
浏览 19
提问于2020-01-12
得票数 0
1
回答
Binary
Search
Tree
Array Imp.C++
private: {bool empty; }; int rightChild
浏览 1
修改于2009-11-11
得票数 0
1
回答
Leetcode:convert-
binary
-search-
tree
-to-sorted-doubly-linked-list
说明:左:反向输出,右:正序列输出class Solution: @param root: root of a
tree
@return: head node
浏览 2
修改于2020-11-19
得票数 1
1
回答
在
Tree
[
Binary
]中找到最低公共祖先,但在python中有多个节点?
# A
binary
tree
node # Constructor to create a new
binary
node self.right = None if root.key == k : return True
浏览 6
提问于2019-07-31
得票数 1
1
回答
为什么我的Java
Binary
Search
Tree
类没有实际删除节点,而我告诉它这样做?
, BTree
tree
) { return; } else if (
tree
.leftTree != null) {
浏览 0
提问于2015-02-19
得票数 1
1
回答
通过引用返回迭代器
class
binary
_
tree
_iterator {
binary
_
tree
<T>*
tree
;
binary
_
tree
_iterator(
binary
_
tree
<T>* t) :
tree
(t) {} T& operator*() {data =
tree
->data();
浏览 0
修改于2021-02-05
得票数 0
1
回答
从一个二叉树复制到另一个二叉树
我正在尝试编写各种方法来创建二叉树,其中之一是从现有的二叉树中复制方法
binary
_
tree
::
binary
_
tree
(const std::vector<int> &values)}
binary
_
tree
::
binary
_
tree
(const
binary
_
tree
&rhs)copyTree(
tree
2,
tree
浏览 4
修改于2018-01-19
得票数 1
回答已采纳
1
回答
使用Bazel构建时如何避免#include中的相对路径
. ├── is_
binary
_
tree
│ └── is_
binary
_
tree
.cpp│ ├── BUILD│ └── graphs.h当我尝试bazel build //is_
binary
_
tree
:is_
binary
_
tree
时,我收到了以下警告Lib应该位于is_
bi
浏览 6
提问于2021-11-09
得票数 0
回答已采纳
1
回答
头部更改不会触发重新生成.o (使用.d依赖文件)
)/
binary
_
tree
.d build: $(BUILDDIR)/
binary
_
tree
.oar -
浏览 3
提问于2022-10-02
得票数 0
回答已采纳
1
回答
rust编译器在多大程度上自动匹配泛型约束?
#[derive(Debug)] left:
Binary
_
Tree
<T>, right:
Binary
_
Tree
<T>struct
Binary
_
Tree
<T: PartialOrd + Clone> { node
浏览 0
提问于2017-11-29
得票数 1
2
回答
为什么这个c程序不能正确运行?
#include <stdio.h> struct
binary
_
tree
*left; int value; /
浏览 3
修改于2015-07-31
得票数 1
回答已采纳
1
回答
如何在prolog中测试二叉树
我想测试这个prolog程序:
binary
_
tree
(void).
binary
_
tree
(
tree
(_Element,Left,Right)):-
binary
_
tree
(Left),
binary
_
tree
(Right).test(
tree
(a,
tree
(b,
tree
(d,void,void),void),
tree
(c,void,void))).当我使用以下命令
浏览 2
提问于2016-12-03
得票数 1
1
回答
如何在二叉树中实现insert函数的变体版本?
<T> *
binary
_search_
tree
<T>::search(const T &key) const { while" class
binary
_search_
tree
{
binary
_search_
浏览 0
修改于2020-04-05
得票数 0
2
回答
将排序链接列表转换为平衡的二进制搜索树
/2);for(int i = 1; i <
binary
_
tree
_node<int>* root = new
binary
_
tree
_node<int>(temp -> data(), left, right); retu
浏览 0
修改于2016-07-12
得票数 3
3
回答
反演二叉树(递归)
创建二叉树from binarytree import build nodes =[4, 2, 7, 1, 3, 6, 9] # Builidng the
binary
tree
print('
Binary
tree</e
浏览 1
修改于2021-10-03
得票数 0
回答已采纳
1
回答
引用的初始化无效
我有一个模板类,如下所示class
binary
_
tree
{
binary
_
tree
<T> *l, *r;
binary
_
tree
(T d) : d(d), l(nullptr), r(nullptr)
浏览 0
修改于2021-01-31
得票数 1
1
回答
Herbrand宇宙、Herbrand基和Herbrand二叉树模型(prolog)
什么是Herbrand宇宙,Herbrand基础和二叉树的Herbrand模型:
binary
_
tree
(Left),
binary
_
tree
(Right).
浏览 0
提问于2012-07-17
得票数 4
1
回答
错误c2244 dlib贝叶斯网络示例代码
\
binary
_search_
tree
_kernel_c.h(187): error C2244: 'dlib::
binary
_search_
tree
_kernel_c<bst_base>::element<bst_base>::::domain_type,
binary
_search_
tree
_kernel_c<bst_base>::::range_type> &dlib::
binary
_search_
浏览 1
修改于2013-11-25
得票数 0
1
回答
C++禁止声明没有类型的“binaryTreeType”
bool isEmpty(); //Function to deteremine the height of the
binary
tree
.//Postcondition: The height of the
binary
tree
is returned.
浏览 1
提问于2013-04-19
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券