mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
Update sorting/selection_sort_recursive.c
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
d957dacec5
commit
30b43869d4
@ -26,7 +26,7 @@ void swap(int *first, int *second)
|
|||||||
* @brief returned the index having minimum value using recursion
|
* @brief returned the index having minimum value using recursion
|
||||||
* @param arr array to be sorted
|
* @param arr array to be sorted
|
||||||
* @param size size of array
|
* @param size size of array
|
||||||
* @return min_index index of element having minimum value.
|
* @return min_index index of element having minimum value.
|
||||||
*/
|
*/
|
||||||
int findIndex(const int *arr, const int size)
|
int findIndex(const int *arr, const int size)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user