diff --git a/java/MergeSort.java b/java/MergeSort.java new file mode 100644 index 0000000..285af6c --- /dev/null +++ b/java/MergeSort.java @@ -0,0 +1,56 @@ +class MergeSort { + + public static void merge(int[] left_arr,int[] right_arr, int[] arr,int left_size, int right_size){ + + int i=0,l=0,r = 0; + //The while loops check the conditions for merging + while(l