-
Notifications
You must be signed in to change notification settings - Fork 20.2k
fix: revert ReverseStack deletion and verify linting (#6474) #6494
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
fix: revert ReverseStack deletion and verify linting (#6474) #6494
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6494 +/- ##
============================================
- Coverage 75.11% 75.10% -0.01%
+ Complexity 5574 5571 -3
============================================
Files 687 686 -1
Lines 19318 19307 -11
Branches 3732 3732
============================================
- Hits 14510 14500 -10
Misses 4245 4245
+ Partials 563 562 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good! Now please resolve the format issues to fix the failing workflows @VickySource
Thanks for catching that! I’ll apply clang-format to the updated files
and push the fix so the workflows pass.
…On Thu, Aug 21, 2025 at 9:27 PM Deniz Altunkapan ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Very good! Now please resolve the format issues to fix the failing
workflows @VickySource <https://github.com/VickySource>
—
Reply to this email directly, view it on GitHub
<#6494 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BL5S2UTCNSWN4XE4ACLO7PT3OXT5BAVCNFSM6AAAAACEO34FQ2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTCNBRGMZDKMRSG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @DenizAltunkapan, thanks for reviewing! |
@VickySource I accidentally missed this earlier, but why did you undo the deletion of the Recursion classes? It was correct to delete ReverseStackUsingRecursion and the according test class. Please delete them so we can merge afterwards ;) |
Done.
…On Fri, 22 Aug, 2025, 1:13 am Deniz Altunkapan, ***@***.***> wrote:
*DenizAltunkapan* left a comment (TheAlgorithms/Java#6494)
<#6494 (comment)>
@VickySource <https://github.com/VickySource> I accidentally missed this
earlier, but why did you undo the deletion of the RenRecursion classes? It
was correct to delete ReverseStackUsingRecursion and the according test
class. Please delete them so we can merge afterwards ;)
—
Reply to this email directly, view it on GitHub
<#6494 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BL5S2URTAIUCAC73LS42LST3OYOOVAVCNFSM6AAAAACEO34FQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJRHA3DAOJXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @DenizAltunkapan, I have deleted both ReverseStackUsingRecursion.java and ReverseStackUsingRecursionTest.java as requested. The branch is now updated and ready for review. |
Awesome, thanks!
…On Fri, 22 Aug, 2025, 11:11 am Deniz Altunkapan, ***@***.***> wrote:
Merged #6494 <#6494> into
master.
—
Reply to this email directly, view it on GitHub
<#6494 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BL5S2USG2SFVUUKIHDE2PLD3O2USNAVCNFSM6AAAAACEO34FQ2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJZGI4DAMRWGA2TQMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Context
The ReverseStackUsingRecursion.java implementation and ReverseStackUsingRecursionTest.java were accidentally deleted.
This PR restores both files and ensures they meet the project's style and linting requirements.
Changed
Verified formatting and linting:
Ran mvn checkstyle:check → BUILD SUCCESS
Spotless plugin not configured in the project → performed manual verification.
Verification steps performed
Confirmed both files match the upstream versions (no logic change).
Checked compilation → successful.
Lint check passed with no issues.
Notes for Reviewers
Only file restoration and formatting verification, And code logic changes.
Safe to merge — should restore repository consistency without conflicts.