Linear Search Leetcode