JAVA_LeetCode 1678_Goal Parser Interpretation 풀이 class Solution { public String interpret(String command) { // 최소 2문자를 비교해야한다는점을 이용, replace로 변환한다. return command.replace("()", "o").replace("(al)", "al"); } } * 출처 https://leetcode.com/problems/goal-parser-interpretation...
JAVA_LeetCode 1678_Goal Parser Interpretation에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.