English

What is linear search?

Advertisements
Advertisements

Question

What is linear search?

Short Answer
Advertisements

Solution

Linear Search is a simple search algorithm that finds a target value by checking each element of an array sequentially from start to finish until a match is found. It requires a single loop and works on both sorted and unsorted data, making it highly flexible but slower for large datasets.
shaalaa.com
  Is there an error in this question or solution?
Chapter 8: Arrays - Sort & Search - Exercises [Page 197]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 8 Arrays - Sort & Search
Exercises | Q 2. (iv) | Page 197
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×