Question: I don't know how to do Question 4 & 5. Using Java Eclipse IDE Coding Exercise Question: 4. (3 pts) create a method to search

I don't know how to do Question 4 & 5. Using Java Eclipse IDE
Coding Exercise Question: 4. (3 pts) create a method to search a tree node with target value in regular binary tree, Return the value if this value exists in the binary tree. Return null if not exists. 5. (1 pts) use at least one example to test your method. Example 1: Input: {1, 2, 3), and target value = 3 Output: 3 Explanation: there's a tree node with target value in this binary tree. 1 / 1 3 2 Example 2: Input: {1, 2, #, 3, 4), and target value = 3 Output: 3 Explanation: there's a tree node with target value in this binary tree. 1 2 7 . 3 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
