Question: design and analysis of algorithms . I need pseducode after writing the algorithms using pseducode implement in Java. Write an algorithm that searches a sorted


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. - Write an algorithm that sorts a list of n items by dividing it into three sublists of about n3 items, sorting each sublist recursively and merging the three sorted sublists. Analyze your algorithm, and give the results under order notation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
