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 | 31 |
Tags
- Union-Find
- LLM
- Content Compression Resistance priority
- mvvm
- swift
- ai expo
- RxCocoa
- coordinator
- RxSwift요약
- Content Hugging priority
- uikit
- ReactiveX
- 삽입정렬
- 병합정렬
- OperationQueue
- Autolayout
- 백준
- 오토레이아웃
- 동시성프로그래밍
- 알고리즘
- swift알고리즘
- endpoint
- GCD
- RX
- 버블정렬
- 선택정렬
- 동작과정
- IOS
- 자료구조
- rxswift
Archives
- Today
- Total
목록자료구조 (2)
JosephCha의 개발일지
[브루트 포스]백준/2798번/블랙잭
let firstLineInput = readLine()!.split(separator: " ").map{Int(String($0))!} let secondLineInput = readLine()!.split(separator: " ").map{Int(String($0))!} let limit: Int = firstLineInput.last! let length: Int = secondLineInput.count var result: Int = 0 for i in 0..
알고리즘 및 자료구조
2022. 7. 26. 23:37
백준/2920번/음계 문제
let input = readLine()!.split(separator: " ") if input == input.sorted() { print("ascending") } else if input == input.sorted(by: >) { print("descending") } else { print("mixed") } 설명 ascending일 경우는 즉 오름차수로 정렬된 상태 dscending일 경우는 즉 내림차수로 정렬된 상태 나머지는 mixed 참고: https://www.acmicpc.net/problem/2920
알고리즘 및 자료구조
2022. 7. 26. 23:28