
- 무인도 여행 문제https://school.programmers.co.kr/learn/courses/30/lessons/154540 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr - 풀이걸린 시간 : 2시간 30분import java.util.*;class Solution { public static ArrayList list = new ArrayList(); public ArrayList solution(String[] maps) { int[][] graph = new int[maps.length][maps[0].length()]..

- 문제https://school.programmers.co.kr/learn/courses/30/lessons/43165 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr - 풀이걸린 시간 : 20~25분 기존 방법class Solution { public static int count = 0; public int solution(int[] numbers, int target) { calculate(numbers, numbers[0], 0, 0, target); calculate(numbers, -numbers[0], 0, 0, target); return co..

- 올바른 괄호 문제https://school.programmers.co.kr/learn/courses/30/lessons/12909 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr - 풀이걸린 시간 : 10~15분class Solution { boolean solution(String s) { char[] list = new char[s.length()]; int index = 0; for(char c : s.toCharArray()){ list[index] = c; index..