Skip to content

refactor: redesign LetterCombinationsOfPhoneNumber #5221

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

samuelfac
Copy link
Contributor

Related to #5164

  • 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 Uncyclopedia 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-commenter commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 38.74%. Comparing base (31db1af) to head (87aff59).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5221      +/-   ##
============================================
+ Coverage     38.73%   38.74%   +0.01%     
- Complexity     2384     2390       +6     
============================================
  Files           517      517              
  Lines         15391    15381      -10     
  Branches       2954     2957       +3     
============================================
- Hits           5961     5960       -1     
+ Misses         9143     9135       -8     
+ Partials        287      286       -1     

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

@samuelfac samuelfac marked this pull request as ready for review June 12, 2024 12:15
@samuelfac samuelfac requested a review from vil02 June 12, 2024 15:24
Samuel Facchinello and others added 2 commits June 12, 2024 17:50
vil02
vil02 previously approved these changes Jun 12, 2024
Copy link
Member

@vil02 vil02 left a comment

Choose a reason for hiding this comment

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

I allowed myself to push one commit into your branch: 910c814 I hope you don't mind.

The code looks good. I am just wondering if it makes sense to change the KEYPAD to a simple array. Let me know about your opinion.

@samuelfac samuelfac requested a review from vil02 June 13, 2024 09:24
@vil02 vil02 force-pushed the cleanup_LetterCombinationsOfPhoneNumber branch from f07833b to d3f8c03 Compare June 13, 2024 09:40
@vil02 vil02 changed the title Refactor: redesign LetterCombinationsOfPhoneNumber refactor: redesign LetterCombinationsOfPhoneNumber Jun 13, 2024
@vil02 vil02 merged commit 51fcc66 into TheAlgorithms:master Jun 13, 2024
5 checks passed
@samuelfac samuelfac deleted the cleanup_LetterCombinationsOfPhoneNumber branch June 13, 2024 17:40
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