Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 10 - No. 25)

What are the key characteristics involved in searching for a specific item using a linear search?
Examining the elements in order.
Using the sorted order.
Having a counter value.
The use of a flag.

Explanation

The algorithm looks at elements sequentially and uses a flag to indicate whether the target has been located.

Comments (0)

Advertisement