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 | 29 | 30 | 31 |
Tags
- DBASE&
- CJ DBASE&
- ansi sql 장점
- 위상정렬
- 프로그래머스 이중우선순위큐
- DFS
- 이중우선순위큐 자바
- Spring Boot
- 이중우선순위큐 java
- 백트래킹
- 백준
- JPA
- oracle ansi sql
- ansi sql 단점
- 프로그래머스
- 면접 필수 질문
- 프로그래머스 이중우선순위큐 java
- 개발자 면접 준비
- oracle ansi
- IT 면접 준비
- 디베이스앤 인턴 후기
- 그리디
- SQL
- BFS
- Java
- DP
- 프로그래머스 이중우선순위큐 자바
- 디베이스앤
- Gradle
- 이분탐색
Archives
- Today
- Total
목록프로그래머스 타겟넘버 (1)
쉬운 프로그래밍
[알고리즘] 프로그래머스 - 타겟 넘버
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+ programmers.co.kr import java.util.*; class Solution { public int solution(int[] numbers, int target) { return dfs(numbers, target, 0, 0); } public int dfs(int[] numbers, int target, int depth, int v..
알고리즘/DFS, BFS
2021. 1. 25. 15:37