MergeSort - Dividir 7 4 1 9 3 2 Algorithm mergeSort(ini, post, S)
{"Image DocumentName": "MergeSort - Dividir Algorithm mergeSort(ini, post, S)", "Image ImageDescription": "mergeSort(0,6,S) Algorithm mergeSort(ini, post, S) Input initial position , final position + 1 and sequence S. Output sequence S sorted. if (ini<post-1) then. mid \uf0ac (ini+post)/2. Sini-(mid-1) \uf0ac mergeSort(ini,mid, S) Smid-(post-1) \uf0ac mergeSort(mid,post,S) Sini-(post-1) \uf0ac merge(ini,mid,post,S) Return S. mergeSort(0,3,S) mergeSort(3,6,S) mergeSort(0,1,S) mergeSort(1,3,S) mergeSort(3,4,S) mergeSort(4,6,S) mergeSort(1,2,S) mergeSort(2,3,S) mergeSort(4,5,S) mergeSort(5,6,S) 3. 2.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}