Create a tree for demo and testing
Create a tree for demo and testing
CreateRegularTree(height = 5, branchingFactor = 3, parent = Node$new("1"))
height |
the number of levels |
branchingFactor |
the number of children per node |
parent |
the parent node (for recursion) |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.