Insertion Sort 67 (C): Bad
Insertion Sort 68 (C): Good
Insertion Sort w Sentinel 7 (C): Good
Selection Sort 29 (C): Good
Merge Sort 9 (C): Bad
Merge Sort 10 (C): Good
Not in my status. IS67 is bad because I used > rather than >= in the inner loop. MS9 is bad because I included <strings.h> instead of <string.h> in the library. So the code doesn't compile correctly.
No comments:
Post a Comment