Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
CS foundations
/
Trees and graphs
Which property distinguishes a rooted tree from a general directed graph?
from Trees and graphs
Node 24
beginner
1 min
Which property distinguishes a rooted tree from a general directed graph?
Every non-root node has exactly one parent, and every node is reachable from the root.
Every node has at least two outgoing edges.
Every edge carries the same numeric weight.
Every node is stored in an adjacency matrix.
Check
Ask AI about this kata
Report an error
previous kata
Review a generated dependency order
Review AI code
next kata
Spot the bug in the reachability helper
Spot the bug
A new version is available
Reload