Help Implementing Strahler Numbers and Pruning Numbers JAVA

In Progress

1. Modify a program (I will give you) that generated all binary trees with n nodes so as it generates each tree it determines the Strahler number of the tree and outputs the number of n node binary trees that have each possible Strahler number. Test the program on some sample trees and output information so we can tell what the tree was and what its Strahler number was. Produce a table for n from 2 to 15(or as high as you can get) of the number of binary trees with n nodes that have each possible Strahler number.

2. Using the binary tree representation for forests of trees, again generate all the n node binary trees(which is the same as generating all the n node forests) and determine how many n node forests have each possible pruning number. Produce a table as in part 1 but for pruning numbers for n node forests rather than for Strahler numbers for n node binary trees.

I will provide more information to workers.

Skills: Java

See more: strahler number java, what is binary tree in c, what is binary tree, what is a tree node, tree node, table trees, number of nodes in a tree, no of trees with n nodes, node of a tree, node in tree, n numbers, binary trees in java, binary trees in c, binary trees, binary tree nodes, what is node, c binary number, java binary trees, java test program, generate node, help modify, java program help, generate numbers, java modify, modify binary tree

Project ID: #2676094