Question: Write an algorithm that sorts a list of n items by dividing it into three sub-lists of about n/3 items, sorting each sub-list recursively and

Write an algorithm that sorts a list of n items by dividing it into three sub-lists of about n/3 items, sorting each sub-list recursively and merging the three sorted sub-lists. Analyze your algorithm, and give the results under order notation.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!