Merge Algorithm

 

Here is the merge algorithm:

0 1 2 3 4 5 6 7

0 1 3 6 2 4 5 75 7 2 4 1 6 0 35 2 4 1 6 3 Figure : Merge sort: combine phase

 

 

 

 

Previous

 

 

TOC

 

 

Next