Exercise · Volume 1 · 2.3-5
Exercise 2.3-5
not stated yet in Lean solution written
| Rating | 02 |
|---|---|
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 2.3 of Volume 1 |
The task
Node has three siblings, and is the parent of . Find the degree of .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
The siblings of are the other children of .
Solution
Show the solution
The children of are and the three siblings of . That is 4 children. The degree of a node is its number of children.
Answer: 4.
Check
The count is .
Remarks
The word sibling excludes the node itself. The wrong answer 3 comes from forgetting .
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.