일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 소수
- android support
- 깊이우선탐색
- anr
- 액티비티 ANR
- 자료구조
- Github
- 안드로이드
- 안드로이드 파일
- support fragment
- 안드로이드 DBMS
- 백준 알고리즘
- oracle
- BFS
- SQLite와 Realm 차이점
- java
- android fragment
- DFS
- 안드로이드 ANR
- 너비우선탐색
- android adapterview
- 자바 컬렉션
- 알고리즘
- 백준
- db
- 안드로이드 AdapterView
- 컬렉션
- 소수 알고리즘
- application not responding
- support 라이브러리
Archives
- Today
- Total
목록bfsdgs (1)
밍의 기록들😉
[문제] 깊이우선탐색과 너비우선탐색
문제 소스코드import java.util.*; public class bfsdfs { static ArrayList[] a; static boolean[] check; public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] input = sc.nextLine().split(" "); int n = Integer.parseInt(input[0]); int m = Integer.parseInt(input[1]); a = (ArrayList[]) new ArrayList[n+1]; for(int i=1; i
자료구조, 알고리즘/문제풀이
2018. 9. 9. 21:26