7. Iterative Linear Search to find a value in the array.

preview_player
Показать описание
Implementation of #Iterative #Linear or #Sequential Search in the array to find an element if exists return its index otherwise return -1 to indicate key doesn't exist in the array.

Playlist:
#Collection and #Implementation of #Common #Array #algorithms as individual and supporting functions.

The Album includes following algorithms:

* Binary Search of an ordered array Iteratively.
* Binary Search of an ordered array Recursively.
* Calculate the average of an array.
* Calculate the average of even elements of an array.
* Calculate the average of odd elements of an array.
* Calculate the average of even-indexed elements of an array.
* Calculate the average of odd-indexed elements of an array.
* Fill Array with random numbers in a range.
* Find the Maximum element in the array.
* Find the Minimum element in the array.
* Frequency (Occurrences) of an element in the array.
* Histogram of elements of an array.
* Median of an Array.
* Mode of an Array.
* Reverse an array.
* Rotate array N positions.
* Sequential or Linear search of an array Iteratively.
* Sequential or Linear search of an array Recursively.
* Sum all the elements of an array.
* Sum all the even elements of an array.
* Sum all the odd elements of an array.
* Sum all the even-index elements of an array.
* Sum all the odd-index elements of an array.

Github Repository

Array Fill

Sum

Reverse

Rotate

Min/Max

Linear Search Iterative

Linear Search Recursive

Binary Search Iterative

Binary Search Recursive
Рекомендации по теме
Комментарии
Автор

Please SUBSCRIBE to my channel to promote and encourage. Thanks.

CodingHelpLine
join shbcf.ru