일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 2차원배열
- 프로그래머스
- 목록
- sql
- 반복문
- html
- JAVA11
- 싱글톤
- 시큐리티 로그아웃
- programmers
- Linux
- java
- 코딩테스트
- springSecurity
- 시큐리티 로그인
- 시큐리티로그인
- css
- 시큐리티
- 로그인
- 소스트리
- gradle
- codingtest
- Spring boot
- javascript
- StyleSheet
- 리눅스
- security
- 스프링 부트
- springboot
- input태그
- Today
- Total
목록프로그래머스 (23)
JAVAIARY
문제: https://school.programmers.co.kr/learn/courses/30/lessons/120875 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public int solution(int[][] dots) { int answer = 0; for (int i = 1; i < dots.length; i++) { double x = dots[0][0] - dots[i][0]; double y = dots[0][1] - dots[i][1]; double incl1 = (dots[0][1] - dots[i][..
문제: https://school.programmers.co.kr/learn/courses/30/lessons/68644 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; class Solution { public ArrayList solution(int[] numbers) { ArrayList answer = new ArrayList(); Arrays.sort(numbers); for (int i = 0; i ..
문제: https://school.programmers.co.kr/learn/courses/30/lessons/12921 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public int solution(int n) { int cnt =1; if (n
문제: https://school.programmers.co.kr/learn/courses/30/lessons/12912 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public double solution(int a, int b) { double max = Math.max(a, b); double min = Math.min(a, b); return (max+min)/2*(max-min+1); } } 평균 * 개수
문제: https://school.programmers.co.kr/learn/courses/30/lessons/12932 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public static int[] solution(long n) { String s = String.valueOf(n); StringBuffer sb = new StringBuffer(); sb.append(s); sb= sb.reverse(); int[] answer = new int[s.length()]; for (int i = 0; i < answer...
문제: https://school.programmers.co.kr/learn/courses/30/lessons/12930 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public static String solution(String s) { String answer = ""; String[] removeBlank = s.split(" ",-1); for (String string : removeBlank) { String[] word = string.split(""); Boolean tf = true; for (int i ..
문제: https://school.programmers.co.kr/learn/courses/30/lessons/120840 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr import java.math.BigInteger; class Solution { public BigInteger solution(int intBalls, int intShare) { // balls! / ((balls-share)! * share!) String strBalls = Integer.toString(intBalls); String strShare = Integer.toStr..
문제: https://school.programmers.co.kr/learn/courses/30/lessons/86491 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr class Solution { public int solution(int[][] sizes) { int h= 0;//최소 가로 int v= 0;//최소 세로 for (int i = 0; i = sizes[i][0]) { // 가로, 세로 둘 중 큰 숫자가 앞에 위치하도록 조정 int temp = sizes[i][0]; ..