Trying to bubble sort
+- PA02_Main +- PA02_Main.c +- StateUtilities.c
This commit is contained in:
parent
a88b49135b
commit
f48c96705e
3 changed files with 27 additions and 6 deletions
|
|
@ -72,7 +72,7 @@ int main()
|
|||
// display original list
|
||||
displayData( wkgArray, wkgNumStates,
|
||||
"Original data after state removal" );
|
||||
/*
|
||||
|
||||
// bubble sort
|
||||
// function: runBubbleSort
|
||||
runBubbleSortByName( sortingArray, sortingNumStates );
|
||||
|
|
@ -80,7 +80,7 @@ int main()
|
|||
// display bubble-sorted list
|
||||
displayData( sortingArray, sortingNumStates,
|
||||
"Full list sorted by name using bubble sort" );
|
||||
|
||||
/*
|
||||
// insertion sort
|
||||
// function: runInsertionSort
|
||||
runInsertionSortByPopulation( sortingArray, sortingNumStates );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue