Created
January 7, 2017 15:30
-
-
Save rashedcs/3dc2cf605f89e0d34d6f90ac88e19b48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Algorithm MergeSort(arr, l, h) | |
{ | |
if(low < high) then | |
{ | |
mid := (low + high) / 2; | |
MergeSort(arr, low, mid); | |
MergeSort(arr, mid+1, high); | |
Merge(arr, low, mid, high); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment