What is a linear search?



What is a linear search?..

Answer / Ankur Kumar Dixit

Linear search is a simple searching algorithm used to find an element in a list or array. It sequentially checks each element of the data structure from the beginning until it finds the target element or reaches the end. The time complexity of linear search is O(n), where n is the number of elements in the array.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

How many types of data structure are there?

1 Answers  


Explain implementation of traversal of a binary tree.

1 Answers  


what is atmost complete binary tree?

6 Answers  


How do you make a bubble chart with 3 variables?

1 Answers  


Define outdegree of a graph?

1 Answers  


Can we modify final arraylist?

1 Answers  


What are the advantages of array?

1 Answers  


Calculate the efficiency of sequential search?

1 Answers  


What are the basic data structures?

1 Answers  


Briefly explain recursive algorithm?

1 Answers  


Is json a data structure?

1 Answers  


Explain binary searching, Fibinocci search.

5 Answers   CTS, IBM, TCS,


Categories