Question: How does Linear Search work? A ) It compares elements by their values and swaps them B ) It divides the array into two halves
How does Linear Search work?
A It compares elements by their values and swaps them
B It divides the array into two halves and searches recursively
C It checks each element in the array until a match is found
D It uses a pivot to locate the desired element
F It only works on sorted arrays
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
