Skip to content

Fix: Replaced removeLast() with remove(current.size() - 1) #6152

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

Conversation

MaddyRizvi
Copy link
Contributor

@MaddyRizvi MaddyRizvi commented Jan 26, 2025

Fix: Replaced removeLast() with remove(current.size() - 1) for compatibility with Array List

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.82%. Comparing base (364f660) to head (6f06f35).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6152      +/-   ##
============================================
- Coverage     73.83%   73.82%   -0.02%     
  Complexity     5155     5155              
============================================
  Files           661      661              
  Lines         17687    17687              
  Branches       3409     3409              
============================================
- Hits          13060    13058       -2     
- Misses         4119     4120       +1     
- Partials        508      509       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alxkm alxkm merged commit f9efd38 into TheAlgorithms:master Jan 26, 2025
6 checks passed
@MaddyRizvi MaddyRizvi deleted the fix/backtracking-arraycombination-removeLast-compatibility branch January 27, 2025 16:21
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