what are the differences between binary and linear search?
- worst case scenario: check half the values
- algorithm: longer + more complex to write
- more efficient (on average)
- good for large data sets
- list doesn't need to be in order
- worst case scenario: check all values
- algorithm: simpler + easier to write
- good for small data sets