3 Posts tagged with SEARCHING
Searching Algorithms
Searching Algorithms are used to determine whether given data exists within a data structure or not.
Linear Search Algorithm - Searching Algorithms
In Linear Search, we traverse the array sequentially to and check if the element is matching with the given target element or not.
Binary Search Algorithm
In Binary Search, we compare the target element with the middle element of the given sorted array and based on the outcome, we further divide the array into half and continue until we find the given element