Chapter 17: Problem 23
(Binary Tree Search) Write method binaryTreeSearch, which attempts to locate a specified value in a binary-search-tree object. The method should take as an argument a search key to be located. If the node containing the search key is found, the method should return a reference to that node; otherwise, it should return a null reference.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.