Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged

Conversation

Copy link
Contributor

@VickySource VickySource commented Aug 21, 2025

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.

Copy link

codecov-commenter commented Aug 21, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.10%. Comparing base (3f195c2) to head (c13bf51).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@DenizAltunkapan DenizAltunkapan left a comment
edited
Loading

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

Copy link
Contributor Author

VickySource commented Aug 21, 2025 via email

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: ***@***.***>

Copy link
Contributor Author

VickySource commented Aug 21, 2025
edited
Loading

Hi @DenizAltunkapan, thanks for reviewing!
I have fixed the formatting using clang-format as requested and pushed the changes.
Could you please review again when you have time?

Copy link
Collaborator

DenizAltunkapan commented Aug 21, 2025
edited
Loading

@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 ;)

Copy link
Contributor Author

VickySource commented Aug 22, 2025 via email

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: ***@***.***>

Copy link
Contributor Author

Hi @DenizAltunkapan, I have deleted both ReverseStackUsingRecursion.java and ReverseStackUsingRecursionTest.java as requested. The branch is now updated and ready for review.

@DenizAltunkapan DenizAltunkapan merged commit 3961b1d into TheAlgorithms:master Aug 22, 2025
6 checks passed
Copy link
Contributor Author

VickySource commented Aug 22, 2025 via email

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: ***@***.***>

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

@DenizAltunkapan DenizAltunkapan DenizAltunkapan approved these changes

@yanglbme yanglbme Awaiting requested review from yanglbme yanglbme is a code owner

@vil02 vil02 Awaiting requested review from vil02

@alxkm alxkm Awaiting requested review from alxkm alxkm is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /