Write a function that tests whether a binary tree is a binary . c++ Note: in a b
ID: 3566754 • Letter: W
Question
Write a function that tests whether a binary tree is a binary . c++
Note: in a binary search tree, for each node, the values of all nodes in the right subtree
are greater than the node, and the values of all nodes in the left subtree are less than the
node. For instance, the following tree is not a binary search tree, because 15 must be less
than 10.
10
7 12
6 15 5 13