Mind map
Bubble sort
Map content
Bubble sort
Pros
- Simple algorithm that can easily implemented on any computer
- doesn't use much memory
- Efficient way to check if a list is already in order
Cons
- Inefficient way to sort a long list with the worst case scenario
- doesn't cope well with a very large list of items
How it works
- Compares pairs of items
- If the items are in the wrong order it swaps them
- Multiple passes are executed until the list is in order
- If the items are in the wrong order it swaps them
- Compares pairs of items
Information
- Description
- Year 10 Computing Mind Map on Bubble sort, created by T W on 17/01/2019.
- Created by
- T W
- Views
- 0
- Rating