Insertion Sort Advanced Analysis

  • + 1 comment

    I wrote the code in c, (doing merge sort and counting the number of swaps required while merging sub arrays) I am allocating memory for sub arrays using malloc and tried almost everything I could but cant get rid of the segmentation fault(core dumped). Help!!!