Insertion Sort 69 (C): Good
Insertion Sort w Sentinel 8 (C): Good
Selection Sort 30 (C): Good
Merge Sort 10 (C): Good
Linear Search 2-4 (C): Bad
Linear Search 5 (C): Good
I am happy that all sortings are good. But I am curious of why linear search took me couple of time to get to exactly what I want. I think the reason is I don't actually have a feeling of what the output should look like. (Mistake in LS 2 and 4.) Also, classic mistake of using the wrong array in function also occurred (in LS 3).
No comments:
Post a Comment