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 | 29 | 30 |
Tags
- UIKit
- RxSwift
- BFS
- claen architecture
- swift concurrency
- task cancel
- custom navigation bar
- 타임라인 포맷팅
- domain data
- Tuist
- button configuration
- identifiable
- swift 점선
- traits
- swift custom ui
- swift dashed line
- uikit toast
- DP
- scene delegate
- custombottomsheet
- rxdatasources
- custom ui
- reactorkit
- swift 백준
- swift navigationcontroller
- 버튼 피드백
- coordinator
- task cancellation
- SWIFT
- swift bottomsheet
Archives
- Today
- Total
목록2025/04/10 (1)
김경록의 앱 개발 여정

풀이두 집합 a,b 에서(a - b).count + (b-a).count 를 구하는 문제입니다.Swift에서 여집합을 구하는 함수는 'subtract()'와 'subtracting()' 입니다.둘의 차이점은 subtractsubtracting원본 변형새로운 집합 return이니 편의를 위해 'subtracting'을 사용해줍니다 let nm = readLine()!.split(separator: " ").map{Int($0)!}let a = Set(readLine()!.split(separator: " ").map{Int($0)!})let b = Set(readLine()!.split(separator: " ").map{Int($0)!})let aCount = a.subtracting(b).countle..
Algorithm
2025. 4. 10. 11:00