Zusammenfassung der Ressource
Search Types
- Linear search
- Advantages
- This is the only option
for searching unsorted
data
- Disadvantages
- If the amount of data was large
then it would take a long time for
the all of it to be searched through
- Binary search
- Advantages
- Binary search is a lot faster
and more efficient than the
Linear search
- Disadvantages
- data is required to be
sorted, if it not then the
binary search will not work at
all.