横向浏览整个树 [英] Tour crosswise into overall tree

查看:55
本文介绍了横向浏览整个树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与C#中的代码一样,跨越树的宽度一般

推荐答案

我不认为你正在使用正确的术语。你并没有准确地表达问题,并没有分享你的疑虑 - 请看我对这个问题的评论。



最有可能的,你的意思是广度优先 树fraversal 的。请从这里开始:

http://en.wikipedia.org/wiki/Tree_traversal [ ^ ]。



-SA
I don't think you are using right terminology. And you did not precisely formulate the problem, and did not share your doubts — please see my comment to the question.

Most likely, you mean "breadth-first" tree-fraversal. Please start here:
http://en.wikipedia.org/wiki/Tree_traversal[^].

—SA


这篇关于横向浏览整个树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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