-
-
Notifications
You must be signed in to change notification settings - Fork 130
Add math snippets for factorial and Fibonacci calculations #89
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
β Deploy Preview for quicksnip ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hey, we recently updated how snippets are stored, please update your PR to match the changes, you will be able to see how to add snippets in CONTRIBUTING.md
.
For ref: #87
danovdenys
commented
Jan 3, 2025
@dibyam-jalan27 It's likely the most inefficient way to calculate fibonacci sequence with O(2^N) time complexity and O(N) auxiliary space.
It is better to use loops or matrix exponentiation
ccb2e7b
to
4220f01
Compare
Description
Type of Change
Checklist
Related Issues
Closes #
Additional Context
Screenshots (Optional)
Click to view screenshots