Question: If mergesort is called with input list ( 1 7 , 5 , 1 3 , 9 , 2 1 , 7 ) , then

If mergesort is called with input list (17,5,13,9,21,7), then which two
lists are sent to the merge operation?
a.(5,7,9) and (13,17,21)
b.(17,5) and (13,9,21,7)
c.(17,5,13) and (9,21,7)
d.(5,13,17) and (7,9,21)

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!