Update sorting/selection_sort_recursive.c

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
DhruvPasricha 2021-03-01 10:16:43 +05:30 committed by GitHub
parent 3681b53128
commit 979b1e3ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ void swap(uint8_t *first, uint8_t *second)
* @brief Returns the index having minimum value using recursion
* @param arr array to be sorted
* @param size size of array
* @return min_index index of element having minimum value.
* @return min_index index of an element having a minimum value
*/
uint8_t findIndex(const uint8_t *arr, const uint8_t size)
{