1
0
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-12-11 00:21:24 +01:00

feat(solutions): add fibonacci/rust/function

This commit is contained in:
Divlo
2023-01-05 18:34:25 +01:00
parent c8a7a6dcd4
commit 1553324b3a
5 changed files with 37 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ Created by [@Divlo](https://github.com/Divlo) on 5 July 2020.
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.
**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