m2skills

merge sort op

Sep 28th, 2017
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Program to implement Recursive Merge sort algorithm in python
  2.  
  3. Enter the elements to sorted as spaced integers : 10 9 8 7 6 5 4 3 2 1
  4. The list before sorting is :
  5. [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
  6.  
  7. The sorted list is :
  8. [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Add Comment
Please, Sign In to add comment