![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/ba8VxX/btrP91H1N1p/rXAw2MAteke9P8RwgAhJck/img.png)
https://school.programmers.co.kr/learn/courses/30/lessons/120834 문제 사진 내 풀이 import Foundation let ageKey: [Int: String] = [ 0: "a", 1: "b", 2: "c", 3: "d", 4: "e", 5: "f", 6: "g", 7: "h", 8: "i", 9: "j" ] func solution(_ age:Int) -> String { var result: [String] = [] let digits: [Int] = String(age).compactMap { Int(String($0))} for num in digits { result.append(ageKey[num]!) } return result.join..
알고리즘
2022. 11. 1. 23:45
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Swift RIBs
- Swift ModernRIBs
- removeLast()
- RIBs tutorial
- Swift 프로그래머스
- swift reduce
- Swift Error Handling
- Swift init
- Swift final
- 원티드 프리온보딩
- iOS error
- Combine: Asynchronous Programming with Swift
- swift (programmers)
- ios
- swift property
- swift 고차함수
- Swift joined
- Swift joined()
- 2023년 회고
- Swift 알고리즘
- Swift 프로퍼티
- Swift Leetcode
- swift programmers
- RTCCameraVideoCapturer
- Swift 내림차순
- Swift
- Class
- swift protocol
- Swift inout
- CS 네트워크
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함