Skip to content

Conversation

@PauLopNun
Copy link

This PR adds a function to calculate the number of combinations (n choose r) in Kotlin. It handles input validation and efficiently computes the result using an iterative approach. Example tests are included in the main() function.

This PR adds a function to calculate the number of combinations (n choose r) in Kotlin.
It handles input validation and efficiently computes the result using an iterative approach.
Example tests are included in the main() function.
@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