July 6

  • Lab work for Monday July 3 (L6): Implement Mergesort. Print the c array in the merge routine to show the elements after getting merged. Implement the Bubble sort algorithm given in the notes, but modify it so that instead of making n-1 passes, it terminates when the array gets fully sorted . Print the array values after every pass. Use a sample array of 10 elements.

  • Homework 2 posted.