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
3681b53128
commit
979b1e3ba7
@ -27,7 +27,7 @@ void swap(uint8_t *first, uint8_t *second)
|
|||||||
* @brief Returns the index having minimum value using recursion
|
* @brief Returns 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 an element having a minimum value
|
||||||
*/
|
*/
|
||||||
uint8_t findIndex(const uint8_t *arr, const uint8_t size)
|
uint8_t findIndex(const uint8_t *arr, const uint8_t size)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user