Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Interpolation search algorithm More...
#include <iostream>
Functions | |
int | InterpolationSearch (int A[], int n, int x) |
int | main () |
Interpolation search algorithm
int InterpolationSearch | ( | int | A[], |
int | n, | ||
int | x ) |
function to search the value in an array using interpolation search
[in] | arr | array to search in |
[in] | value | value to search for |
[in] | len | length of array |
int main | ( | void | ) |
main function
< passed array A inside the InterpolationSearch function