![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/bNEH5D/btrPyHD3JMm/OC5PK6hdDNKmVeN4M1p3P0/img.png)
https://school.programmers.co.kr/learn/courses/30/lessons/120891 문제 사진 내 풀이 import Foundation func solution(_ order:Int) -> Int { return String(order).filter { $0 == "3" || $0 == "6" || $0 == "9"}.count } solution(29423) [목표] 한줄로 끝내보자 Int -> String 숫자 하나하나 3,6,9를 조회하기 위함 filter로 3,6,9를 포함하고 있는것만 걸러내기 다른사람의 풀이 import Foundation func solution(_ order:Int) -> Int { return String(order).filter { "36..
알고리즘
2022. 10. 26. 09:02
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Swift 프로퍼티
- Swift init
- Swift ModernRIBs
- Combine: Asynchronous Programming with Swift
- 2023년 회고
- Swift Error Handling
- swift protocol
- Swift 내림차순
- ios
- 원티드 프리온보딩
- Swift joined
- Swift
- swift reduce
- swift property
- Swift final
- RIBs tutorial
- CS 네트워크
- Swift RIBs
- swift (programmers)
- swift 고차함수
- Swift joined()
- Swift 알고리즘
- Swift Leetcode
- RTCCameraVideoCapturer
- removeLast()
- iOS error
- Class
- swift programmers
- Swift inout
- Swift 프로그래머스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함