Skip to content

Instantly share code, notes, and snippets.

View Sushant-1999's full-sized avatar
🏠
Working from home

Sushant Sushant-1999

🏠
Working from home
  • Airtel X Labs
  • Pune
  • 11:20 (UTC +05:30)
View GitHub Profile
/* Merge sort in C */
#include<stdio.h>
#include<stdlib.h>
// Function to Merge Arrays L and R into A.
// lefCount = number of elements in L
// rightCount = number of elements in R.
void Merge(int *A,int *L,int leftCount,int *R,int rightCount) {
int i,j,k;