-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
Added memoization function in fibonacci #5856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very well overall, just fix one comment.
Edit: forgot one moment, see the latest review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything is fine
Please use the same tests as the other implementations. Please put the test results in the docstring at the top of the file so that visitors can see at a glance how these algorithms perform. |
Like, should I output a list of n fibonacci numbers?? |
The doctests should be the same for all functions to ensure they all deliver the right answers. Like run the file and paste in the text that the last four lines generate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice performance numbers! Thanks for the teamwork on this one.
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}
.