Cody

Solution 2021337

Submitted on 14 Nov 2019 by thetagamma
  • Size: 23
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(isequal(isFibonacci(2),true))

2   Pass
assert(isequal(isFibonacci(3),true))

3   Pass
assert(isequal(isFibonacci(5),true))

4   Pass
assert(isequal(isFibonacci(89),true))

5   Pass
assert(isequal(isFibonacci(233),true))

6   Pass
assert(isequal(isFibonacci(6765),true))

7   Pass
assert(isequal(isFibonacci(18),false))

8   Pass
assert(isequal(isFibonacci(100),false))

9   Pass
assert(isequal(isFibonacci(230),false))

10   Pass
assert(isequal(isFibonacci(514227),false))

Suggested Problems

More from this Author5