Done
This commit is contained in:
parent
a04a66c509
commit
add23e123e
23 changed files with 1041 additions and 107 deletions
|
|
@ -3,7 +3,7 @@
|
|||
* ---------------------------------------------------------
|
||||
* Exercise Number: S07
|
||||
* Title: Quick sort
|
||||
* Author: */<your name>;/*
|
||||
* Author: Marc Tismonar
|
||||
* ----------------------------------------------------------
|
||||
* Description:
|
||||
* Implements the quick sort algorithm
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
* @param criterion The pointer to the function that implements the sorting criterion.
|
||||
* That function accepts two integer parameters and returns a boolean value.
|
||||
*/
|
||||
void quick_sort_list(<params>);
|
||||
void quick_sort_list(IntList list, criterion_fn criterion);
|
||||
|
||||
/**
|
||||
* Sorts the given array according to the quick sort algorithm.
|
||||
|
|
@ -34,6 +34,6 @@ void quick_sort_list(<params>);
|
|||
* @param criterion The pointer to the function that implements the sorting criterion.
|
||||
* That function accepts two integer parameters and returns a boolean value.
|
||||
*/
|
||||
void quick_sort_array(<params>);
|
||||
void quick_sort_array(int array[], int length, criterion_fn criterion);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue