Chapter 2: Problem 6
Write an algorithm that searches a sorted list of \(n\) items by dividing it into three sublists of almost \(n / 3\) items. This algorithm finds the sublist that might contain the given item and divides it into three smaller sublists of almost equal size. The algorithm repeats this process until it finds the item or concludes that the item is not in the list. Analyze your algorithm and give the results using order notation.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.