Example of linear search in data structure
Share
Example of linear search in data structure
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
In computer science, a linear search or sequential search is a method for finding an element within a list. It sequentially checks each element of the list until a match is found or the whole list has been searched.
✩ Answer ✩
❍ Linear Search Example-
Linear Search algorithm compares element 15 with all the elements of the array one by one. It continues searching until either the element 15 is found or all the elements are searched.
I HOPE ITS HELP YOU