Question: Python please 8 tree search(root, val) Search the tree to find the value, if it exists. If it exists, then return the node which contains

Python please
8 tree search(root, val) Search the tree to find the value, if it exists. If it exists, then return the node which contains it. If it does not exist, return None. This function should not assume anything about the order of values in the tree; it might not be a BST. Feel free to use a loop or recursion, your choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
