public static void Merge(int[] arr,int p,int q,int r ) { int n1 = q-p; int n2 = r-q; int[] L=new int[n1]; int[] R = new int[r-n2]; for (int i =
You array L is declared of size q-p, which are both 0