Linear Search Algorithm Time Complexity