Dev/PS
[프로그래머스-코딩 기초 트레이닝] 부분 문자열 이어 붙여 문자열 만들기
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/181911 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public String solution(String[] my_strings, int[][] parts) { StringBuilder sb = new StringBuilder(); int i=0; for(String str : my_strings) { sb.append(s..
[프로그래머스-코딩 기초 트레이닝] 배열 만들기 5
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/181912?language=java 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 import java.util.ArrayList; class Solution { public int[] solution(String[] intStrs, int k, int s, int l) { ArrayList intList = new ArrayList(); for(String..
[프로그래머스-코딩테스트 입문] 짝수의 합
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120831 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public int solution(int n) { int answer = 0; for(int i=0; i
[프로그래머스-코딩테스트 입문] 양꼬치
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120830 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public int solution(int n, int k) { return (n*12000)+(k*2000)-((n/10)*2000); } }
[프로그래머스-코딩테스트 입문] 각도기
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120829 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public int solution(int angle) { int answer = 0; if(angle < 90) { answer = 1; } else if(angle == 90) { answer = 2; } else if(angle < 180) { answer = 3; ..
[프로그래머스-코딩테스트 입문] 특정 문자 제거하기
Hi, There! 안녕하세요, 바오밥입니다. 목차 문제 풀이 문제 문제 내용 https://school.programmers.co.kr/learn/courses/30/lessons/120826 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 풀이 나의 풀이 class Solution { public String solution(String my_string, String letter) { StringBuilder sb = new StringBuilder(); for(int i=0; i