Skip to content

Conversation

@ohepworthbell
Copy link
Contributor

The fibonacci() function now returns array of the fibonacci sequence, with the function fibonacciNth() returning the value at nth-position in the fibonacci sequence.

@codecov-io
Copy link

codecov-io commented May 30, 2018

Codecov Report

Merging #36 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@## master #36 +/- ## ===================================== Coverage 100% 100% ===================================== Files 81 82 +1 Lines 1799 1809 +10 Branches 318 319 +1 ===================================== + Hits 1799 1809 +10
Impacted FilesCoverage Δ
src/algorithms/math/fibonacci/fibonacci.js100% <100%> (ø)⬆️
src/algorithms/math/fibonacci/fibonacciNth.js100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a63bc67...50fadf4. Read the comment docs.

@a-b
Copy link

a-b commented Jun 1, 2018

The bottom-up approach looks fine, it would be great to add test ensuring expected time complexity.

@trekhleb
Copy link
Owner

@ohepworthbell thank you for cleaning the code up and for clean implementation of new function!

@trekhlebtrekhleb merged commit d267d72 into trekhleb:masterJun 2, 2018
@trekhlebtrekhleb mentioned this pull request Jun 2, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ohepworthbell@codecov-io@a-b@trekhleb@pybchat