Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ even_tree.py
File
even_tree.py
graphs/even_tree.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
You are given a tree(a simple connected graph
with
no cycles). The tree has N
3
nodes numbered
from
1 to N and is rooted at node 1.
4
Callers
nothing calls this directly
Calls
2
even_tree
Function · 0.85
append
Method · 0.45
Tested by
no test coverage detected