1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

feat(solutions): add is-palindrome/c/function

This commit is contained in:
Divlo
2021-09-28 23:58:00 +02:00
parent 96ca014afd
commit a6bd36b754
15 changed files with 186 additions and 6 deletions

View File

@ -17,7 +17,7 @@ int main() {
printf("%d\n", numbers[index]);
}
free(numbers);
return 0;
return EXIT_SUCCESS;
}
void bubble_sort(int numbers[], const int length) {

View File

@ -17,7 +17,7 @@ int main() {
printf("%d\n", numbers[index]);
}
free(numbers);
return 0;
return EXIT_SUCCESS;
}
void insertion_sort(int numbers[], const int length) {

View File

@ -17,7 +17,7 @@ int main() {
printf("%d\n", numbers[index]);
}
free(numbers);
return 0;
return EXIT_SUCCESS;
}
void merge(int numbers[], int left_index, int middle_index, int right_index) {