data-structures-and-algorithms

401 data structures and algorithms code challenges


Project maintained by alsosteve Hosted on GitHub Pages — Theme by mattgraham

Data Structures and Algorithms

Language: Python

Trees: Fizz Buzz

Feature Tasks

Challenge Type: Code Challenge / Algorithm

Method:

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:

Whiteboard Process

challenge18

Examples

None

Unit Tests

Stretch Goal

None

Approach & Efficiency

I had to figure out how to walk through a K-array tree using the provided data structure code. Then I just pushed new values into a new tree.