Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- interface
- multimodule testcontainers
- 멀티모듈 테스트컨테이너
- TestContainers
- kotest testcontainers
- redissonlock aop
- OptimisticLock
- 백준
- spring aop
- netty
- @transactional
- 우아한 테크러닝
- ObjectOptimisticLockingFailureException
- AccessToken
- 형상관리
- spring DI
- aop
- jpa
- 알고리즘
- DI
- springsecurity
- java
- 낙관적 락 재시도
- Invalid property 'principal.username' of bean class
- S3
- 소수찾기 java
- Spring Cloud Gateway
- 낙관적 락 롤백
- RefreshToken
- ObjectOptimisticLockingFailureException 처리
Archives
- Today
- Total
목록프로그래머스 타겟넘버 (1)
조급하면 모래성이 될뿐
[프로그래머스] 타겟 넘버
문제 링크 : https://programmers.co.kr/learn/courses/30/lessons/43165 코딩테스트 연습 - 타겟 넘버 | 프로그래머스 n개의 음이 아닌 정수가 있습니다. 이 수를 적절히 더하거나 빼서 타겟 넘버를 만들려고 합니다. 예를 들어 [1, 1, 1, 1, 1]로 숫자 3을 만들려면 다음 다섯 방법을 쓸 수 있습니다. -1+1+1+1+1 = 3 +1-1+1+1+1 = 3 +1+1-1+1+1 = 3 +1+1+1-1+1 = 3 +1+1+1+1-1 = 3 사용할 수 있는 숫자가 담긴 배열 numbers, 타겟 넘버 target이 매개변수로 주어질 때 숫자를 적절히 더하고 빼서 타겟 넘 programmers.co.kr 코드 package Programmers.Level2; p..
Algorithm/Programmers
2019. 12. 11. 23:30