PlaidSoftware Engineer · Phone ScreenCodemia practiceBinary Search on binary tree
Given a binary tree, implement a function to perform a binary search for a target value. The function should return true if the target exists in the tree and false otherwise. The input will be the root node of the binary tree and the target value, and the output will be a boolean indicating the presence of the target.