Written by
java-style
on
on
[프로그래머스] 자바 - 핸드폰 번호 가리기
[프로그래머스] 자바 - 핸드폰 번호 가리기
class Solution { public String solution(String phone_number) { String answer = ""; return answer; } }
<풀이>
우선 숫자로 들어온 번호를 split를 통해 하나하나 짤라준다
class Solution { public String solution(String phone_number) { String answer = ""; String[] numberArr = phone_number.split(""); for(int i=0; i
from http://nxxrxx.tistory.com/51 by ccl(A) rewrite - 2021-10-19 17:01:57