Tagged: 

  • Fibonacci Search

  • Akash 

    Administrator
    at

    Write an algorithm for Fibonacci Search.

    A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc.

  • Murali

    Member
    at

    n=10

    a=0

    b=1

    For i in range(1,n):

    Print(a)

    C=a

    a=b

    b=c+a

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 02nd November 2020. Attend one week free demo classes.Register Now

New Report

Close