Skip to content

Conversation

@Tithi234
Copy link
Contributor

What does this PR do?

  • Improves the docstring for clarity and consistency
  • Renames a parameter for better readability

Why is this useful?

This makes the function behavior clearer while keeping
the existing logic and doctests unchanged.

  • I have read CONTRIBUTING.md
  • This pull request is all my own work
  • I know that pull requests will not be merged if they fail the automated tests
  • This PR only changes one algorithm file
  • All functions and variable names follow Python naming conventions
  • All function parameters and return values are annotated with Python type hints
  • All functions have doctests that pass the automated testing

Updated function name and docstring for clarity.
@poyea poyea enabled auto-merge (squash) January 25, 2026 13:54
@poyea poyea merged commit 8fa4161 into TheAlgorithms:master Jan 25, 2026
5 checks passed
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.

2 participants