Week 3 Discussion Forum

What is Linear Search, Brute Force Techniques, Insertion Sort

Re: What is Linear Search, Brute Force Techniques, Insertion Sort

by Sajia Afrin 192-15-2907 -
Number of replies: 0
Linear search:
Linear search is a very simple search algorithm. In this type of search, a sequential search is made over all items one by one. Every item is checked and if a match is found then that particular item is returned, otherwise the search continues till the end of the data collection.
Brute-force:
In computer science, brute-force search or exhaustive search, also known as generate and test, is a very general problem-solving technique and algorithmic paradigm that consists of systematically enumerating all possible candidates for the solution and checking whether each candidate satisfies the problem's statement.
Insertion sort:
Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on large lists than more advanced algorithms

131 words