일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Fragment 수동 추가
- searchview
- 안드로이드13
- espresso
- 뷰변경 감지
- fragment
- IntentTestRule
- 코딜리티
- ui test
- high order function
- 코틀린
- 재사용
- 안드로이드개발레벨업교과서
- 테마 아이콘
- Android
- recyclerview
- Fragment에서 Activity의 함수 사용하기
- viewholder
- 리사이클러뷰
- 안드로이드스튜디오
- Error:Execution failed for task ':app:mergeDebugResources'
- ActivityTestRule
- LayoutManger
- adapter
- 고차함수
- 안드로이드
- 스와이프
- 구분선
- binding adapter
- 생명주기
- Today
- Total
목록개발/알고리즘 (34)
룬아님의 취중코딩

TapeEquilibrium A non-empty array A consisting of N integers is given. Array A represents numbers on a tape. Any integer P, such that 0 < P < N, splits this tape into two non-empty parts: A[0], A[1], ..., A[P − 1] and A[P], A[P + 1], ..., A[N − 1]. The difference between the two parts is the value of: |(A[0] + A[1] + ... + A[P − 1]) − (A[P] + A[P + 1] + ... + A[N − 1])| In other words, it is the..

PermMissingElem An array A consisting of N different integers is given. The array contains integers in the range [1..(N + 1)], which means that exactly one element is missing. Your goal is to find that missing element. Write a function: class Solution { public int solution(int[] A); } that, given an array A, returns the value of the missing element. For example, given array A such that: A[0] = 2..

FrogRiverOne A small frog wants to get to the other side of a river. The frog is initially located on one bank of the river (position 0) and wants to get to the opposite bank (position X+1). Leaves fall from a tree onto the surface of the river. You are given an array A consisting of N integers representing the falling leaves. A[K] represents the position where one leaf falls at time K, measured..

OddOccurrencesInArray A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of the array can be paired with another element that has the same value, except for one element that is left unpaired. For example, in array A such that: A[0] = 9 A[1] = 3 A[2] = 9 A[3] = 3 A[4] = 9 A[5] = 7 A[6] = 9 the elements at indexes 0 and 2 have valu..