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 June 23 2024 11:06 pm

attachments [paper clip]

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