binary-search

Linear Search vs Binary Search

Linear search is a search that finds an element in the list by searching the element sequentially until the element is found in the list. On the other hand, a binary search is a search that finds the middle element in the list recursively until the middle element is matched with a searched element.

Posted September 12, 2022 by Rohith and Anusha ‐ 2 min read

quick-references blog linear-search binary-search differences

Subscribe For More Content