Skip to content

Commit 7841c60

Browse files
committed
feat: input을 char array로 만드는 메서드 예제 코드 구현
1 parent 06a7a6f commit 7841c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yoonexample/src/main/java/stack/InfixToPostfix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
public class InfixToPostfix {
44

55
public char[] convertInputToCharArray(String input) {
6-
return null;
6+
return input.replace(" ", "").toCharArray();
77
}
88

99
public char[] convertInfixToPostfix(char[] input) {

0 commit comments

Comments
 (0)