Homework5 二叉树建立 Homework6 求树的高度深度叶子节点#86
Merged
c4pr1c3 merged 4 commits intoCUCCS:masterfrom May 3, 2017
Merged
Conversation
chenfucaijun
requested changes
Apr 26, 2017
2017-1/Jasmine/exp05/二叉树.c
Outdated
Collaborator
There was a problem hiding this comment.
- 不推荐手工输入的方法
- 你这里会一直循环接收输入啊!直到我输入了一个合法的二叉树序列。
Contributor
Author
There was a problem hiding this comment.
师哥我不是很明白你的意思。我使用的是第一个方法先序输入后续输出,空格表示左孩子或右孩子为空,如果不手动输入的话要怎么创建二叉树呢
Collaborator
There was a problem hiding this comment.
如果你采用手工输入树的方式,那是不是要考虑用户输入的序列不合法的情况,这种情况下就会进入死循环。
Contributor
Author
|
第五次作业修改+第六次作业提交 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.