Mind map
merge sort
Map content
merge sort
the merge sort handles large lists, it does this by breaking them into multiple smaller lists, quickly sorting them,and then merging them back together into one larger lists
if there is only one item in the list then stop
- divide the list in two parts
- recursively didvde these lists until the size of each becames one
- recrusively merge the lists with the items in the correct numerical order
- recursively didvde these lists until the size of each becames one
- divide the list in two parts
advantages
- its the fastes out of the the three types of sort
- its the best option for long lists of data
- its the fastes out of the the three types of sort
disadvantages
- more complicated to code compared to bubble and insert
- it may use twice the memory size of the list - depending on the way its coded . this becomes important if the list is millions items long
- more complicated to code compared to bubble and insert
Information
- Description
- Mind Map on merge sort, created by youmna gul on 19/06/2018.
- Created by
- youmna gul
- Views
- 1
- Rating