Question: MergeSort ( ) is called to sort the array [ 2 , 1 2 , 8 , 1 9 , 5 , 3 0 ]

MergeSort() is called to sort the array [2,12,8,19,5,30]. What two arrays are merged during the final merge?
Group of answer choices
[2,12,8] and [5,19,30]
[2,8,12] and [5,19,30]
[2,5,8] and [12,19,30]
[2,12,8] and [19,5,30]

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 Programming Questions!