3. When would you go for linear search in an array and why ?