본문 바로가기

분류 전체보기133

깃허브 리드미에 기술뱃지 달기 깃허브 리드미에 프로젝트에 대한 설명을 적을 때 기술스택을 적는다. 이때 기술스택을 그저 글로 쓰는게 아니라 뱃지로 표현할 수도 있다. 이때 사용하는 코드는 다음과 같다. 여기서 표시할이름-생상,기술스택아이콘에 들어갈 내용은 다음 사이트에서 확인할 수 있다. https://simpleicons.org/ Simple Icons 2715 Free SVG icons for popular brands simpleicons.org Search에 원하는 기술의 이름을 넣어 검색한 후 이름 부분을 클릭하여 '표시할이름'과 '기술스택아이콘'에 붙여넣는다. 색상코드를 클릭하여 '색상'부분에 넣으면 되는데 이 때 색상코드의 #은 빼야 오류가 나지 않는다. 2023. 9. 10.
[프로그래머스/자바] 외계어 사전 https://school.programmers.co.kr/learn/courses/30/lessons/120869 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public int solution(String[] spell, String[] dic) { int answer = 2; int length = spell.length; for(int i=0;i 2023. 9. 4.
[프로그래머스/자바] 안전지대 https://school.programmers.co.kr/learn/courses/30/lessons/120866 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public int solution(int[][] board) { int answer = 0; int n =board[0].length; int[] dx = {-1,0,1,-1,1,-1,0,1}; int[] dy = {-1,-1,-1,0,0,1,1,1}; for(int i=0;i 2023. 9. 4.
[프로그래머스/자바] 캐릭터의 좌표 https://school.programmers.co.kr/learn/courses/30/lessons/120861 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public int[] solution(String[] keyinput, int[] board) { int[] moving = {0,0}; int maxpoint_w = board[0]/2; int maxpoint_h = board[1]/2; for(int i=0;i-maxpoint_w){ moving[0]-=1; } }else if(keyinput[i].equal.. 2023. 9. 3.
[프로그래머스/자바] A로 B 만들기 https://school.programmers.co.kr/learn/courses/30/lessons/120886 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public int solution(String before, String after) { int answer = 0; String[] beforeArr = before.split(""); String[] afterArr = after.split(""); int length = before.length(); int[] afterCheck = new int[lengt.. 2023. 9. 3.
[프로그래머스/자바] 다항식 더하기 https://school.programmers.co.kr/learn/courses/30/lessons/120863 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public String solution(String polynomial) { String answer = ""; String[] seperate = polynomial.split(" "); int count = 0; int num = 0; for(int i=0;i 1 && num == 0){ answer = String.valueOf(count)+"x"; }els.. 2023. 9. 1.