Mindmap
Searching and Sorting
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am Searching and Sorting, erstellt von William Orchard am 21/10/2024.
- Erstellt von
- William Orchard
- Aufrufe
- 0
- Bewertung