Skip to content

Commit d3f8c03

Browse files
samuelfacvil02
andauthored
Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java
Co-authored-by: Piotr Idzik <[email protected]>
1 parent 3ef428b commit d3f8c03

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ private static List<String> generateCombinations(int[] numbers, int index, Strin
4545
throw new IllegalArgumentException("Input numbers must in the range [0, 9]");
4646
}
4747

48-
final String letters = KEYPAD.get(number); // Get corresponding letters for the current number
4948
List<String> combinations = new ArrayList<>();
5049

5150
// Iterate over each letter and recurse to generate further combinations

0 commit comments

Comments
 (0)