Question: please write clear code in C++ B. [9 points] implement a non-member function named isEqual. This function takes two BSTs and checks whether their elements
B. [9 points] implement a non-member function named isEqual. This function takes two BSTs and checks whether their elements are the same. Note: The BSTs can be in any order/structure. Your implementation must run in O(n+m), where n and m are the sizes of the two BSTs. If your implementation is correct but runs in more than O(n+m), you will receive at most 6 points. template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
