Skip to content

Add iterative Fibonacci function to math directory#116

Closed
PauLopNun wants to merge 1 commit intoTheAlgorithms:masterfrom
PauLopNun:PauLopNun-patch-4
Closed

Add iterative Fibonacci function to math directory#116
PauLopNun wants to merge 1 commit intoTheAlgorithms:masterfrom
PauLopNun:PauLopNun-patch-4

Conversation

@PauLopNun
Copy link

This PR adds an iterative function to compute the n-th Fibonacci number in Kotlin. The function handles 0-based indices and returns Long to support larger numbers. A main() function is included to test the implementation.

This PR adds an iterative function to compute the n-th Fibonacci number in Kotlin.
The function handles 0-based indices and returns Long to support larger numbers.
A main() function is included to test the implementation.
@PauLopNun PauLopNun closed this by deleting the head repository Oct 28, 2025
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