freeCodeCamp/curriculum/challenges/arabic/08-coding-interview-prep/rosetta-code/zeckendorf-number-represent...

803 B

title id challengeType videoUrl localeTitle
Zeckendorf number representation 594810f028c0303b75339ad6 5

Description

undefined

Instructions

undefined

Tests

tests:
  - text: ''
    testString: 'assert.equal(typeof zeckendorf, "function", "zeckendorf must be function");'
  - text: ''
    testString: 'assert.deepEqual(answer, solution20, "Your <code>zeckendorf</code> function should return the correct answer");'

Challenge Seed

function zeckendorf(n) {
  // good luck!
}

After Test

console.info('after the test');

Solution

// solution required