Mapa mental
Bubble sort
Contenido del mapa
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
Información
- Descripción
- Year 10 Computing Mapa Mental sobre Bubble sort, creado por T W el 17/01/2019.
- Creado por
- T W
- Visitas
- 0
- Valoración