DataStructures-and-Algorithms

Code Challenge

Find common values in 2 binary trees.

Specifications

Feature Tasks

Structure and Testing

Utilize the Single-responsibility principle: any methods you write should be clean, reusable, abstract component parts to the whole challenge. You will be given feedback and marked down if you attempt to define a large, complex algorithm in one function definition.

Write at least three test assertions for each method that you define.

Ensure your tests are passing before you submit your solution.

Example

Input:

BinaryTree1

BinaryTree2

Output:

100,160,125,175,200,350,500

Stretch Goal

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