多层次营销的二叉树 [英] Binary Tree for Multi level Marketing

查看:87
本文介绍了多层次营销的二叉树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要为Multilevel Marketing网站生成一个二叉树。



根节点有左和右子节点。

因此,根节点(父节点)可以添加子节点Left或Right。





A

/ \

BC

/ \ / \

DEFG

所有我需要以图形方式实现。

Hi,
I need to generate a binary tree for Multilevel Marketing website.

A root node has Left and Right child.
So root node (parent) can add a child either Left or Right.


A
/ \
B C
/\ / \
D E F G
All i need to achieve using graphically.

推荐答案

您可以使用图形基元递归编写自己的代码,也可以使用工具(例如,参见用于绘制文件树图的工具 [ Stack Overflow 。
You may write your own code, recursively using graphical primitives or might use a tool (see, for instance "What tool to use to draw file tree diagram"[^] at Stack Overflow.

/>

我现在还没有创建任何代码。



我必须写它。
I am not creating any of the code still now.

I have to write it.


这篇关于多层次营销的二叉树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆