Jim's
Tutorials

Spring 2018
course
site

Jim says

I cleaned up and finished what we did in class : in_class_merge_FINAL.c

March 29 - Nate's Work

command line output:

>>> sorting-algorithms git:(master) > gcc -Wall sortTester.c selectionSort.c insertionSort.c bubbleSort.c -o sortTester
>>> sorting-algorithms git:(master) > ./sortTester
selection,10,0.000001
insertion,10,0.000000
bubble,10,0.000001
selection,30,0.000006
insertion,30,0.000002
bubble,30,0.000005
selection,90,0.000044
insertion,90,0.000009
bubble,90,0.000032

example output of merge.c:

>>> ./merge
array is:
1
4
2
6
9
8
5
sorted array is:
1
2
4
2
6
6
6
https://cs.marlboro.college /cours /spring2018 /jims_tutorials /web_tech /m_feb28
last modified Sun December 22 2024 5:05 am

attachments [paper clip]

  last modified size
TXT bubbleSort.c Sun Dec 22 2024 05:05 am 521B
TXT example-merge-sort.c Sun Dec 22 2024 05:05 am 2.1K
TXT in_class_merge.c Sun Dec 22 2024 05:05 am 2.5K
TXT in_class_merge_FINAL.c Sun Dec 22 2024 05:05 am 5.0K
TXT insertionSort.c Sun Dec 22 2024 05:05 am 501B
TXT merge.c Sun Dec 22 2024 05:05 am 1.7K
TXT recursive-print-array.c Sun Dec 22 2024 05:05 am 497B
TXT recursive-print-array.py Sun Dec 22 2024 05:05 am 226B
TXT recursive_reverse_string.py Sun Dec 22 2024 05:05 am 1.0K
TXT recursive_sum.py Sun Dec 22 2024 05:05 am 145B
TXT selectionSort.c Sun Dec 22 2024 05:05 am 740B
TXT sortTester Sun Dec 22 2024 05:05 am 9.1K
TXT sortTester.c Sun Dec 22 2024 05:05 am 2.9K
TXT sorting.h Sun Dec 22 2024 05:05 am 209B