항해99

· coding_test
https://school.programmers.co.kr/learn/courses/30/lessons/42578 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr1) 내가 구현한 코드import java.util.*;class Solution { public int solution(String[][] clothes) { int answer = 1; // "type" : count Map clothMap = new HashMap(); for(String[] cloth:clothes){ ..
· coding_test
https://school.programmers.co.kr/learn/courses/30/lessons/81301 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr1) 내가 구현한 코드아래의 경우 특수한 경우가 아니더라도 Map으로 매핑만 잘 해준다면 규칙에 맞는 단어 출력 가능함import java.util.regex.Pattern;import java.util.*;class Solution { private static final Map map = new HashMap(); static { map.put("zero", "0"); map.put("one", "1"..
· coding_test
https://school.programmers.co.kr/learn/courses/30/lessons/140108 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr1) 내가 구현한 코드class Solution { public int solution(String s) { int answer = 0; int sameCnt = 0; int diffCnt = 0; char temp = s.charAt(0); for(int i=0; i  2) 오늘의 학습 키워드문자열 분할 및 슬라이싱조건에 따른 부분 ..
· coding_test
https://school.programmers.co.kr/learn/courses/30/lessons/147355?language=java 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr1) 내가 구현한 코드class Solution { public int solution(String t, String p) { int answer = 0; long pNum = Long.parseLong(p); long val = -1; //관례적으로 long 타입 선언 시 -1로 초기화 많이함 (long val; 대신 사용) ..
· coding_test
https://school.programmers.co.kr/learn/courses/30/lessons/12916?language=java 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr1) 내가 구현한 코드class Solution { boolean solution(String s) { boolean answer = false; int pCnt = 0; int yCnt = 0; for(int i=0; i2) 오늘의 학습 키워드문자열 순회 및 문자 개수 카운팅대소문자 구별하지 않는 문자 비교Java 문자열 메서드 (toLowerCase..
jeri
'항해99' 태그의 글 목록 (5 Page)
loading