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
- ViewModel
- lifecycle
- HTTP
- onLayout
- kotlin
- room
- 코틀린
- activity
- Behavior
- hilt
- 알고리즘
- Navigation
- notification
- 백준
- 알림
- AppBarLayout
- Android
- View
- recyclerview
- sqlite
- 안드로이드
- CoordinatorLayout
- LiveData
- onMeasure
- Algorithm
- Coroutine
- CustomView
- CollapsingToolbarLayout
- DataBinding
- BOJ
Archives
- Today
- Total
목록2017 카카오 코드 본선 (1)
개발일지
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bi8pE6/btree4A4Z93/dirtpxASt62hRbfc7RwIt0/img.png)
https://programmers.co.kr/learn/courses/30/lessons/1838 코딩테스트 연습 - 몸짱 트레이너 라이언의 고민 4 5 [[1140,1200],[1150,1200],[1100,1200],[1210,1300],[1220,1280]] 4 programmers.co.kr 접근 그리디하게 최대로 사람이 몰리는 시점에 사람이 몇명인지 파악하고 격자판에 그 사람을 배치하면 된다. => 사람이 많은 시점이 사람이 적은 시점보다 거리가 멀기 때문 1) 규칙성 격자판으로 채울 경우((n*n + 1)/2 == people)인 경우) 거리가 2, 그 이상은 거리가 1이라고 할 수 있다. 그 외에 경우 규칙성을 찾으려 했지만 실패 2) 분할정복 & DP people이 1이면 0 (문제 조건..
Problem Solving
2021. 9. 6. 11:24