Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect number of children used for illustration of binary tree #54

Open
irunestone opened this issue Mar 31, 2018 · 1 comment
Open

Comments

@irunestone
Copy link

Error reported in course pythonds on page VocabularyandDefinitions by user Viktor.Palchyk [email protected]
In Definition One it is written that:
"If each node in the tree has a maximum of two children, we say that the tree is a binary tree."
Then it is stated: "Figure 3 illustrates a tree that fits definition one. The arrowheads on the edges indicate the direction of the connection."
Actually on Figure 3 I can see 3 children for node1.
Isn't it a mistake?

@bnmnetp
Copy link
Member

bnmnetp commented Mar 31, 2018

Figure 3 does match definition one for a tree. Definition one is NOT defining a binary tree, the last bullet item is simply identifying a special case. I can see where it might be a bit confusing, so I’ll look at rewording that somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants