mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-28 08:13:08 +03:00
Update sorting/selection_sort_recursive.c
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
This commit is contained in:
parent
7b23edbfd6
commit
1c777cbe99
@ -25,6 +25,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.
|
||||||
*/
|
*/
|
||||||
int findIndex(const int *arr, const int size)
|
int findIndex(const int *arr, const int size)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user