7 kyu
Check if a number is a part of an arbitrary fibonacci sequence
616 of 890otamm
Description:
You will be given a function, isFibo
, which will take three arguments: a
, b
and f
.
a
is the first term of a Fibonacci sequence, b
is the second term of this sequence ( it will always be bigger than or equal to a
and they'll be both always positive, so don't worry about pesky input checking ) and f
is a number which you'll need to check whether or not is a part of this Fibonacci sequence.
Good luck, muh fellow coding warrior.
Algorithms
Arrays
Similar Kata:
Stats:
Created | Mar 6, 2016 |
Published | Mar 6, 2016 |
Warriors Trained | 1638 |
Total Skips | 27 |
Total Code Submissions | 2079 |
Total Times Completed | 890 |
JavaScript Completions | 616 |
Haskell Completions | 44 |
C Completions | 53 |
Python Completions | 219 |
Total Stars | 11 |
% of votes with a positive feedback rating | 88% of 172 |
Total "Very Satisfied" Votes | 138 |
Total "Somewhat Satisfied" Votes | 27 |
Total "Not Satisfied" Votes | 7 |