Test: Computer Science

1.

How is merge sort accomplished?

The original list is continuously broken up into sublists until each sublist is containts 1 element, then the sublists are combined together.

The orginal list is broken into sublists of 4, then are combined together.

If there are an even number of elements, the list is broken into two groups, are sorted, then merged back together. If there are odd numbered elements, the list is broken into three groups.

The original list is broken into two groups, then sorted from there.

Each element in the list is compared to all the other elements and inserted where it fits.

1/2 questions

0%
Learning Tools by Varsity Tutors