Skip to content

Commit f07833b

Browse files
authored
fix: set KEYPAD[0] to ""
1 parent d3f8c03 commit f07833b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
public final class LetterCombinationsOfPhoneNumber {
88

99
// Mapping of numbers to corresponding letters on a phone keypad
10-
private static final String[] KEYPAD = new String[] {" ", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"};
10+
private static final String[] KEYPAD = new String[] {"", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"};
1111

1212
private LetterCombinationsOfPhoneNumber() {
1313
}

0 commit comments

Comments
 (0)