Dev/PS
[프로그래머스-연습문제] 제일 작은 수 제거하기
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/12935 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 import java.util.List; import java.util.ArrayList; import java.util.Arrays; import java.util.stream.Collectors; class Solution { public int[] solution(int[] arr) { if(arr..
[프로그래머스-코딩테스트 입문] 배열의 유사도
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120903 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 import java.util.List; import java.util.ArrayList; import java.util.Arrays; class Solution { public int solution(String[] s1, String[] s2) { List s2List = new ArrayList(..
[프로그래머스-코딩테스트 입문] 문자열 계산하기
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120902 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public int solution(String my_string) { String[] strs = my_string.split(" "); int answer = Integer.valueOf(strs[0]); for(int i=1; i
[프로그래머스-코딩테스트 입문] 가장 큰 수 찾기
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120899 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public int[] solution(int[] array) { int[] answer = new int[2]; int maxNum = 0; for(int i=0; i
[프로그래머스-코딩테스트 입문] 편지
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120898 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public int solution(String message) { return message.length()*2; } }
[프로그래머스-코딩테스트 입문] 약수 구하기
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120897 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 import java.util.List; import java.util.ArrayList; class Solution { public int[] solution(int n) { List list = new ArrayList(); for(int i=1; ix).toArray(); } }