- 40 Algorithms Every Programmer Should Know
- Imran Ahmad
- 23字
- 2025-04-04 12:59:10
The Performance of Linear Search
As discussed, linear search is a simple algorithm that performs an exhaustive search. Its worst-case behavior is O(N).
As discussed, linear search is a simple algorithm that performs an exhaustive search. Its worst-case behavior is O(N).