Write an algorithm that searches a sorted list of n items


Problem

Write an algorithm that searches a sorted list of n items by dividing it into three subsists of almost n/3 items. This algorithm finds the sub list that might contain the given item and divides it into three smaller subsists 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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write an algorithm that searches a sorted list of n items
Reference No:- TGS02628284

Expected delivery within 24 Hours