일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Linked List
- 데드락
- 상호배제
- 100 days of SwiftUI
- COLOR
- 동기화
- 파일 시스템
- decode
- 오브젝트
- 운영체제
- forEach
- 프로세스 스케줄링
- 알고리즘
- struct
- async
- Apple Developer Academy
- 동시성
- 가상 메모리
- Algorithm
- 앨런
- Swift
- 인프런
- IOS
- 비동기
- deadlock
- SwiftUI
- core data
- UserDefaults
- Codable
- @state
Archives
- Today
- Total
목록String number to Int (1)
기어가더라도 제대로
"seven" -> 7
import Foundation let stringSeven = "seven" var seven = stringSeven.replacingOccurrences(of: "seven", with: "7") print(type(of: Int(seven)!)) print(Int(seven)!) 하.. 약 2일을 고민한 알고리즘이 고작 네줄로 요약되다니 아주 기분이 좋지 못하다. 음.. 이제라도 알았으니 기분이가 좋아야하는걸까? 물은 반이나 남은 것일까 반밖에 안남은 것 일까?
CS/자료구조
2022. 5. 4. 19:34