Thread
:
Fibonacci Search Algorithm
View Single Post
0
clocking
Ambitious contributor
23Jul2007,13:28
hi, you are careful but I think it's only small algorithm.
I think that:
Code:
f[0] = f[1] = 1; for (i = 2 ; i< n ; i++) f[ i ] = f[i -1] + f[i-2 ]; scanf( f[n]);
what do you think ?