Skip to content

Conversation

@muannn
Copy link

@muannn muannn commented Oct 23, 2025

Describe your change:

Added the string reversal algorithm reverse_string.py:

  • Implements reverse_string(s: str) -> str using slicing for reversal.
  • Adds type checking (raises TypeError for non-string inputs).
  • Includes module and function docstrings along with examples.
    This change, consisting of approximately 35 lines of code, expands the collection of string processing algorithms.

@algorithms-keeper algorithms-keeper bot added the awaiting reviews This PR is ready to be reviewed label Oct 23, 2025
@mindaugl
Copy link
Contributor

This is one is deep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviews This PR is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants