A challenging Java Question
0 Answers
A challenging Java Question
| Flag | PURGE
Write a Java program to find out minimum numbers from fibonacci series 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)
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.