Homework08
A MathWikiből
A lap korábbi változatát látod, amilyen Imran (vitalap | szerkesztései) 2021. május 4., 21:02-kor történt szerkesztése után volt.
Problem 1: Path
Write an path(self) method for the class Tree which returns True if the tree is a long path without a junction. False otherwise. The tree is a path if all of the nodes </b>except the root</b> have at most one branches.