Mapa mental
Searching and Sorting
Conteúdo do 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
Informações
- Descrição
- Mapa Mental sobre Searching and Sorting, criado por William Orchard em 21-10-2024.
- Criado por
- William Orchard
- Visualizações
- 0
- Avaliação