Mind map
CS-Search Algorithms:
Map content
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.
Information
- Description
- Mind Map on CS-Search Algorithms:, created by Niamh O'Connor on 03/31/2021.
- Created by
- Niamh O'Connor
- Views
- 0
- Rating