Back to Browse

Binary Search - Searching algorithm| Half-interval Search | Data Structure | TN 12th syllabus | DSA

686 views
Aug 30, 2020
6:20

#Searching Algorithm #DSA #Binary search #12th TN syllabus #Data Structures Binary search algorithm is a search algorithm that finds the position of a target value within a "sorted array". Binary search compares the target value to the middle element of the array. If they are not equal, the half in which the target cannot lie is eliminated and the search continues on the remaining half, again taking the middle element to compare to the target value, and repeating this until the target value is found. If the search ends with the remaining half being empty, the target is not in the array. Sample program for binary search http://qubepix.com/vsonlineacademy/binarysearch_sample_Program.html

Download

0 formats

No download links available.

Binary Search - Searching algorithm| Half-interval Search | Data Structure | TN 12th syllabus | DSA | NatokHD