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:
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user