3 Commits

Author SHA1 Message Date
akshayanvi
8d240037b3
Update interpolation_search.c
1) Easy logic built
2) error minimized: as array is increasing in above example it might not always be increasing.just replace 47 by 2 then run above program it will give an incorrect ans. but in improvised case it is minimized.
3)we are scanning input from user so, more saturated
4)'position' is more reliable than 'index'.
2018-03-14 03:08:07 +05:30
Akshay Kumar
df99ef4cb1
Update interpolation_search.c 2018-03-10 23:13:44 +05:30
Akshay Kumar
0bc7df2c78
interpolation.c
Interpolation search implemented in c
2018-03-07 23:41:38 +05:30