DataStructures-and-Algorithms

Code Challenge

Conduct “FizzBuzz” on a k-ary tree while traversing through it to create a new tree.

Set the values of each of the new nodes depending on the corresponding node value in the source tree.

Specifications

Challenge Setup & Execution

Branch Name: tree-fizz-buzz

Challenge Type: Code Challenge / Algorithm

Feature Tasks

Determine whether or not the value of each node is divisible by 3, 5 or both. Create a new tree with the same structure as the original, but the values modified as follows:

Requirements

Ensure your complete solution follows the standard requirements.

  1. Write unit tests
  2. Follow the template for a well-formatted README
  3. Submit the assignment following these instructions