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 Thu April 18 2024 12:44 pm

attachments [paper clip]

  last modified size
TXT bubbleSort.c Thu Apr 18 2024 12:44 pm 521B
TXT example-merge-sort.c Thu Apr 18 2024 12:44 pm 2.1K
TXT in_class_merge.c Thu Apr 18 2024 12:44 pm 2.5K
TXT in_class_merge_FINAL.c Thu Apr 18 2024 12:44 pm 5.0K
TXT insertionSort.c Thu Apr 18 2024 12:44 pm 501B
TXT merge.c Thu Apr 18 2024 12:44 pm 1.7K
TXT recursive-print-array.c Thu Apr 18 2024 12:44 pm 497B
TXT recursive-print-array.py Thu Apr 18 2024 12:44 pm 226B
TXT recursive_reverse_string.py Thu Apr 18 2024 12:44 pm 1.0K
TXT recursive_sum.py Thu Apr 18 2024 12:44 pm 145B
TXT selectionSort.c Thu Apr 18 2024 12:44 pm 740B
TXT sortTester Thu Apr 18 2024 12:44 pm 9.1K
TXT sortTester.c Thu Apr 18 2024 12:44 pm 2.9K
TXT sorting.h Thu Apr 18 2024 12:44 pm 209B