Skip to content

feat: add Fibonacci with O(1) space optimization#3161

Open
snehal-thombare08 wants to merge 1 commit into
TheAlgorithms:masterfrom
snehal-thombare08:master
Open

feat: add Fibonacci with O(1) space optimization#3161
snehal-thombare08 wants to merge 1 commit into
TheAlgorithms:masterfrom
snehal-thombare08:master

Conversation

@snehal-thombare08
Copy link
Copy Markdown

Description of Change

Added Fibonacci number implementation using O(1) space optimization with iterative approach.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Added documentation so that the program is self-explanatory and educational

Sign up for free to 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.

1 participant