- 토마토 문제https://www.acmicpc.net/problem/7576 - 풀이걸린 시간 : 30분import java.io.*;import java.util.*;public class Main { public static int N, M; public static int count = 0; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out..
- 무인도 여행 문제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/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..
- 성격 유형 검사하기 문제https://school.programmers.co.kr/learn/courses/30/lessons/118666 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr - 풀이걸린 시간 : 20~25분import java.util.*;class Solution { public String solution(String[] survey, int[] choices) { HashMap type = new HashMap(); type.put("R", 0); type.put("T", 0); t..
- 문자열 나누기 문제https://school.programmers.co.kr/learn/courses/30/lessons/140108 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr - 풀이걸린 시간 : 25~30분import java.util.*;class Solution { public int solution(String s) { int totalCount = 0; while(true){ int count = 0; int index = 0; String firstC..
제가 가장 좋아하는 언어인Java는 JVM을 이용하여이식성 부분에서굉장한 장점을 가지고 있다고 생각합니다. 요즘 공부중인 언어인 Kotlin 또한JVM 동작방식을 따르는Java와 100% 호환되는 언어라고 알고 있습니다. '지피지기면 백전불태' 란 말이 있듯이JVM을 파악한다면,그로부터 파생된 언어들은두렵지 않을 것입니다. 출처 : https://inpa.tistory.com/entry/JAVA-%E2%98%95-JVM-%EB%82%B4%EB%B6%80-%EA%B5%AC%EC%A1%B0-%EB%A9%94%EB%AA%A8%EB%A6%AC-%EC%98%81%EC%97%AD-%EC%8B%AC%ED%99%94%ED%8E%B8 ☕ JVM 내부 구조 & 메모리 영역 💯 총정리저번 포스팅에서는 JRE / JDK /..