Your learning coach might say that "Linear search is perfect if the data is not sorted."
Linear search does not require the data to be sorted and can be applied to any collection of items. Although it is inefficient compared to other algorithms (like binary search), particularly for large datasets, it is often the simplest solution for small or unsorted datasets. Additionally, it may be easier to implement in straightforward scenarios where the overhead of sorting the data first would outweigh the benefits.