Homework 5 Ex4

Homework 5 Ex4

You cannot submit for this problem because the homework's deadline is due.

Problem 4

  • Submit merge.c here.
  • SubArr2 should be subArr2. Actually the name of the parameters do not matter. You can use whatever name you like, and you can still pass JOJ.
  • In void merge(int subArr1[], int subArr2[], int arrSorted[], int subArr1_len, int subArr2_len), arrSorted is actually used as an output argument here. When we call this function, subArr1 and subArr2 are two ascending sorted arrays, subArr1_len and subArr2_len are their length respectively, and arrSorted is an array whose length is greater than subArr1_len + subArr2_len and you should put the result of merging into arrSorted.

Homework 5

Not Claimed
Status
Finished
Problems
6
Open Since
2022-06-25 16:45
DDL
2022-07-02 23:59
Extension
48.0 hour(s)