Mapa mental
CS-Search Algorithms:
Conteúdo do mapa
CS-Search Algorithms:
Linear Search:
- Simplest search method-starts at the top and works all of the way through until the search term is found.
- Advantages:
- Simple algorithm
- Works on any list
- Disadvantages:
- Slow on large lists.
Binary Search:
- If the data is ordered, then a binary search can be used.
- The middle value is checked then depending on whether it is higher or lower than the search value, eliminate half and try again.
- Advantages:
- Very fast on large lists
- Disadvantage:
- Only works if the data is sorted.
Informações
- Descrição
- Mapa Mental sobre CS-Search Algorithms:, criado por Niamh O'Connor em 31-03-2021.
- Criado por
- Niamh O'Connor
- Visualizações
- 0
- Avaliação