Wednesday, November 1, 2017

Ex.No 7 Merge Sort



Ex no:7                               MERGE SORT
Aim
            To write a python program to sort a list of elements using Merge sort
Algorithm
Step1:Start
Step2:Divide the arrays into left sub array & right sub array
Step3:Conquer by recursively sorting the two sub arrays
Step4:Combine the elements back in by merging the two sorted sub arrays
Step5:Call the results and print the arrays
Step6:Stop

https://drive.google.com/file/d/0ByMcz7t6A0gieUNIR2t5WDJtdTA/view?usp=sharing



No comments:

Post a Comment