![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/IykYG/btsI5CnIWnX/ECjunyNIykpROvrIaCdmAk/img.png)
https://school.programmers.co.kr/learn/courses/30/lessons/42842 내 풀이import Foundationfunc solution(_ brown:Int, _ yellow:Int) -> [Int] { var size: [Int] = [] var totalSize: Int = brown + yellow for height in 1...totalSize { let width = totalSize / height if (width - 2) * (height - 2) == yellow { size.append(width) size.append(height) } ..
카테고리 없음
2024. 8. 15. 10:09
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Swift RIBs
- Swift 알고리즘
- Class
- Swift Leetcode
- swift reduce
- Swift ModernRIBs
- Swift 프로그래머스
- 원티드 프리온보딩
- Swift 내림차순
- Swift 프로퍼티
- Swift
- Swift init
- Swift inout
- removeLast()
- swift programmers
- RTCCameraVideoCapturer
- Swift joined
- CS 네트워크
- RIBs tutorial
- swift 고차함수
- 2023년 회고
- swift (programmers)
- Combine: Asynchronous Programming with Swift
- swift protocol
- Swift final
- ios
- Swift Error Handling
- iOS error
- Swift joined()
- swift property
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함