Check each element in turn until you find the target or run out of elements. It is the only option when the data has no order to exploit.
- Average time
- O(n)
- Space
- O(1)
Check each element in turn until you find the target or run out of elements. It is the only option when the data has no order to exploit.