Sort And Searching Question:

Explain what is linear search?

Tweet Share WhatsApp

Answer:

Linear search is the simplest form of search. It searches for the element sequentially starting from the first element. This search has a disadvantage if the element is located at the end. Advantage lies in the simplicity of the search. Also it is most useful when the elements are arranged in a random order.

Download Sort And Searching PDF Read All 27 Sort And Searching Questions
Previous QuestionNext Question
Tell me why might quick sort might be better than merge sortExplain what is binary search?