Mind map
Search and Sort
Map content
Search and Sort
Sort
- Insertion
- Looks at value and compares it to previous
- Sorts them
- Continues until last number has been inserted
- Looks at value and compares it to previous
- Merge
- Repeatably splits the list in half
- Sorts pairs then merges them
- Pros
- More efficient and quicker than bubble and insertion
- Consistent running time
- Cons
- Slower for small lists
- Continues even if list is sorted
- Uses more memory
- Bubble
- Goes through list ordering pairs
- Until list is sorted
- Goes through list ordering pairs
- Insertion
Search
- Linear
- Un-ordered list
- Goes through every value from beginning of list
- Until list is sorted
- Binary
- Splits list in half
- Goes to appropraite side of value
- Splits smaller list in half
- Goes to appropraite side of value
- Ordered list
- Splits list in half
- Linear
Information
- Description
- Mind Map on Search and Sort, created by James Kime on 21/03/2018.
- Created by
- James Kime
- Views
- 0
- Tags
- Rating