Skip to content

Commit 41c7007

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

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 List<String> KEYPAD = List.of(" ", "", "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)