Tagged: 

  • Fibonacci Search

     Murali updated 1 year ago 2Members · 2 Posts
  • 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

New Report

Close