일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- five lines of code
- 리팩터링
- Safari Inspector
- css학습
- unittest
- 클린코드
- 코딩테스트입문
- RC
- Swift코딩테스트
- 프로그래머스
- storekit2
- Di
- algorithm
- UIKit
- five lines of cdde
- ios면접
- alamofire
- SWIFT
- 앱의생명주기
- TDD
- RxSwift
- Swift디자인패턴
- AutoLayout
- firestore
- mrc
- firebase
- IOS
- hackerrank
- 카카오맵클론
- ARC
- Today
- Total
목록algorithm (3)
샘성의 iOS 개발 일지
순열 서로 다른 n개의 숫자 중, r개의 숫자를 선택하여 만들 수 있는 배열들 e.g. [1, 2, 3]이라는 배열의 숫자 중, 2가지 숫자를 골라서 만든 순열을 나열한다면 아래와 같을 것이다. array = [1, 2, 3] permutation = [1, 2], [1, 3], [2, 1], [2, 3], [3, 1], [3, 2] 잘 돌아보면 순열에는 규칙이 있다. 1. 한번 선택한 숫자는 다시 선택할 수 없다. 2. 그러므로 다음 숫자에선 '이미 선택한 숫자를 제외한' 숫자들 중 하나를 선택할 수 있게 된다. (하단 참고) array = [1, 2, 3] [1, 2] - 이미 1을 선택 했으므로, 남은 숫자는 2, 3 [1, 3] [2, 1] - 이미 2을 선택 했으므로, 남은 숫자는 1, 3 [2..
문제 설명: Maria plays college basketball and wants to go pro. Each season she maintains a record of her play. She tabulates the number of times she breaks her season record for most points and least points in a game. Points scored in the first game establish her record for the season, and she begins counting from there. Example scores = [12, 24, 10, 24] Scores are in the same order as the games pla..
문제 설명: There will be two arrays of integers. Determine all integers that satisfy the following two conditions: The elements of the first array are all factors of the integer being considered The integer being considered is a factor of all elements of the second array These numbers are referred to as being between the two arrays. Determine how many such numbers exist. Example a = [2, 6] b = [24, ..