1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00
programming-challenges/challenges/fibonacci-suite
2020-12-09 12:42:12 +01:00
..
solutions docs: fix typo 'at' should be 'on' 2020-09-12 22:15:21 +00:00
input-output.json Add "fibonacci-suite" challenge 2020-07-05 18:29:17 +02:00
README.md chore: ignore lockfiles + markdownlint 2020-12-09 12:42:12 +01:00

fibonacci-suite

Created by @Divlo on 5 July 2020.

Instructions

The function should return an array of fibonacci numbers. The function takes a number as an argument to decide how many number of elements to produce.

Note : The Fibonacci Sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ... Each subsequent number is the sum of the previous two.

Examples

See the input-output.json file for examples of input/output.