Two binary trees are isomorphic if only their key values differ (they have the same shape). Implement a linear-time static method isomorphic( ) that takes two tree references as arguments and returns true if they refer to isomorphic trees, and false otherwise. Then, implement a linear-time static method eq( ) that takes two tree references as arguments and returns true if they refer to identical trees (isomorphic with the same key values), and false otherwise.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.