DataStructures-and-Algorithms

Code Challenge

Find the Maximum Value in a Binary Tree

Specifications

Challenge Setup & Execution

Branch Name: tree-max

Challenge Type: Extending an Implementation

Feature Tasks

Write the following method for the Binary Tree class

Find the maximum value stored in the tree. You can assume that the values stored in the Binary Tree will be numeric.

Example

Input

example

Output

11

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