Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 275 Bytes

File metadata and controls

13 lines (10 loc) · 275 Bytes

step 1: start

step 2: declare array and left, right, mid variable

step 3: perform merge function. if left > right return mid= (left+right)/2 mergesort(array, left, mid) mergesort(array, mid+1, right) merge(array, left, mid, right)

step 4: Stop