<commit_before>#include "sorting.h"

void merge_sort(int array[], int size)
{
	// devide the array
	// conqure the array
	// combine the result
}<commit_msg>added merge sort<commit_after>#include "sorting.h"

void devide_merge(int array[], int start, int end);
void merge(int[], int start, int mid, int end);

void merge_sort(int array[], int size) {
    devide(array, 0, size);
}

void devide_merge(int array[], int start, int end) {
    int mid;
    if(start < end) {
        mid = (start + end) / 2;
        devide_merge(array, start, mid);
        devide_merge(array, mid+1, end);
        merge(array, start, mid, end);
    }
}
{'fraction_non_alphanumeric': 0.14421553090332806, 'fraction_numerical': 0.004754358161648178, 'mean_word_length': 3.328767123287671, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6095530', 'n_tokens_mistral': 222, 'n_tokens_neox': 224, 'n_words': 68}