Mapa mental
Searching and Sorting
Contenido del mapa
Searching and Sorting
Merge
- Repeatedly splitting list in half
- Merging the list back together and sorting
- More efficient
- hard to code
Binary
- Splitting list in half
- discarding higher or lower section than value needed
- More efficient
Bubble
- Swapping items in list if not in order
- needs a final pass to check if sorted
- Not very efficient
- easy to code
Insertion
- List is split into sorted and unsorted
- go over every item in list and add to correct place in sorted list
- Not very efficient
- moderately easy to code
Linear
- Go over every item in list
- Innefficient
Información
- Descripción
- Mapa Mental sobre Searching and Sorting, creado por William Orchard el 21/10/2024.
- Creado por
- William Orchard
- Visitas
- 0
- Valoración