Linear Search

Linear Search is an algorithm that starts at one end and goes through each element of a list until the desired element is found, otherwise the search continues till the end of the data set. It's time complexity is O(n).

Binary Search

Binary Search is a searching algorithm used in a sorted array by repeatedly dividing the search interval in half. The idea of binary search is to use the information that the array is sorted and reduce the time complexity to O(Log n).

Ternary Search

It is a decrease and conquer algorithm that can be used to find an element in an array. In this we divide the given array into three parts and determine which has the searched element.Time complexity is O(log n base 3) and that of binary search is O(log n base 2).