Question: Sorted lists def combine(self, source1, source2): ------------------------------------------------------- Combines two source lists into the current target list. When finished, the contents of source1 and source2

Sorted lists

def combine(self, source1, source2): """ ------------------------------------------------------- Combines two source lists into the current target list. When finished, the contents of source1 and source2 are interlaced into target and source1 and source2 are empty. Values are sorted. (iterative algorithm) Use: target.combine(source1, source2) ------------------------------------------------------- Parameters: source1 - an array-based list (Sorted_List) source2 - an array-based list (Sorted_List) Returns: None ------------------------------------------------------- """

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!