You are on page 1of 1

Summer Semester 1 2009

CSCI-260 Data Structures


Assignment # 7

Due: July 18, 2009

1. Explain the merge sort the Java code explained in class. Be very specific and use diagrams to
clarify the operations. As a special case, give details of linear-time merging of two sorted
arrays A and B where array A is smaller that array B.

2. Find or create your own example of the Quick sort and explain its operations.

3. Find or create your own example of the Shell sort and explain its operations.

4. Compare the Quick and the Shell sort methods. Emphasize their advantages and
disadvantages. Be very specific.

You might also like