Challenge: Find Max in Binary Tree
Let’s find the maximum value in a binary tree.
We'll cover the following
Problem
Given a binary tree, find the maximum value in it.
Input
A binary tree.
Output
Display the maximum value present in the tree.
Sample input
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.