Skip to content

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

VickySource
Copy link
Contributor

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.

@codecov-commenter
Copy link

codecov-commenter commented Aug 21, 2025

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.

@VickySource VickySource reopened this Aug 21, 2025
Copy link
Collaborator

@DenizAltunkapan DenizAltunkapan left a 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

@VickySource
Copy link
Contributor Author

VickySource commented Aug 21, 2025 via email

@VickySource
Copy link
Contributor Author

VickySource commented Aug 21, 2025

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?

@VickySource VickySource reopened this Aug 21, 2025
@DenizAltunkapan
Copy link
Collaborator

DenizAltunkapan commented Aug 21, 2025

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

@VickySource
Copy link
Contributor Author

VickySource commented Aug 22, 2025 via email

@VickySource
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
@VickySource
Copy link
Contributor Author

VickySource commented Aug 22, 2025 via email

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.

3 participants