2021 KAKAO BLIND RECRUITMENT > 신규 아이디 추천
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class main { public static void main(String[] args) { String new_id = "...!@BaT#*..y.abcdefghijklm"; System.out.println(new_id.substring(0,3)); //1 new_id = new_id.toLowerCase(); System.out.println("1 " + new_id); //2 String [] chr = new_id.split("");..
프로그래밍/알고리즘
2021. 11. 29. 21:19