India’s Best Job Seekers and Training Platform Forums Java Problems set How many minimum numbers from fibonacci…

  • How many minimum numbers from fibonacci…

  • Akash 

    Administrator
    at

    How many minimum numbers from fibonacci series are required such that sum of numbers should be equal to a given Number N?

    Note : repetition of number is allowed.

    Example1.

    N= 7;

    answer = 2 (5 + 2 = 7)

    Example 2.

    N = 70;

    Answer = 3 (34 + 34 + 2)

Log in to reply.

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

New Report

Close