Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Reversing_String under Recursion #1806

Merged

Conversation

Richajaishwal0
Copy link
Contributor

@Richajaishwal0 Richajaishwal0 commented Nov 4, 2024

📥 Pull Request

Description

This file introduces the implementation of the Reverse String problem using recursion in three programming languages: C++, Python, and Java. Each implementation demonstrates the use of a recursive function to reverse a given string efficiently. The base case handles empty strings or single-character strings, while the recursive case constructs the reversed string by appending the first character to the result of reversing the remainder of the string.

Fixes #1794

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link

github-actions bot commented Nov 4, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible.). If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@Richajaishwal0 Richajaishwal0 changed the title added Reversing_String underRecursion Added Reversing_String under Recursion Nov 4, 2024
Copy link

github-actions bot commented Nov 4, 2024

⚡️ Lighthouse Report for the Deploy Preview of this PR 🚀

🔗 Site: Algo | Live Site

URL 🌐 Performance Accessibility Best Practices SEO 📊
/algo/ 🟡 63 🟢 96 🟡 75 🟡 86 📄
/algo/docs 🟡 51 🟢 96 🟡 75 🟢 100 📄
/algo/blog 🟡 67 🟢 92 🟢 96 🟡 86 📄

@ajay-dhangar ajay-dhangar added gssoc-ext Contributions made as part of GirlScript Summer of Code Extended Edition. level1 GirlScript Summer of Code | Contributor's Levels labels Nov 4, 2024
Copy link
Owner

@ajay-dhangar ajay-dhangar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ajay-dhangar ajay-dhangar merged commit a35ede6 into ajay-dhangar:main Nov 4, 2024
6 of 9 checks passed
Copy link

github-actions bot commented Nov 4, 2024

🎉🎉 Thank you for your contribution! Your PR #1806 has been merged! 🎉🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext Contributions made as part of GirlScript Summer of Code Extended Edition. level1 GirlScript Summer of Code | Contributor's Levels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reversing a using recursion
2 participants