일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 안드로이드 ANR
- 안드로이드
- 액티비티 ANR
- support 라이브러리
- 컬렉션
- db
- android adapterview
- 안드로이드 AdapterView
- android fragment
- 소수
- SQLite와 Realm 차이점
- anr
- oracle
- 안드로이드 DBMS
- 안드로이드 파일
- 알고리즘
- 백준
- 백준 알고리즘
- Github
- 자료구조
- DFS
- 너비우선탐색
- 소수 알고리즘
- BFS
- 자바 컬렉션
- support fragment
- java
- 깊이우선탐색
- android support
- application not responding
Archives
- Today
- Total
목록팩토리얼 알고리즘 (1)
밍의 기록들😉
[다이나믹] 팩토리얼 구하기
팩토리얼N! = 1 x 2 x ... x NN! = N x (N-1)!f(n) = n x f(n-1)f(0) = 1귀납적 계산법 코드public int getFactorial(int n){ if(n==0){ return 1; } else return n * getFactorial(n-1); } 순차적 계산법 코드Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ans = 1; for(int i=2; i
자료구조, 알고리즘/기본다지기
2018. 8. 20. 15:49