1.

Statement 1: In insertion sort, after m passes through the array, the first m elements are in sorted order.

A. Statement 2: And these elements are the m smallest elements in the array.
B. Both the statements are true
C. Statement 1 is true but statement 2 is false
D. Statement 1 is false but statement 2 is true
E. Both the statements are false
Answer» C.


Discussion

No Comment Found