일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 한국어 개인정보처리방침
- SwiftUI Boolean 값
- UICollectionViewFlowLayout
- 러닝타이머
- CLLocationManagerDelegate
- Xcode
- AnyObject
- UIAlertAction
- swift
- MKMapViewDelegate
- Required Reason API
- addannotation
- 단일 책임원칙
- WeatherManager
- RunningTimer
- weak var
- dispatchsource
- 영문 개인정보처리방침
- App Store Connect
- 러닝기록앱
- weatherKit
- Startign Assignments
- Timer
- MKMapItem
- 서체관리자
- 클로저의 캡슐화
- font book
- Protocol
- xcode로 날씨앱 만들기
- CoreLocation
Archives
- Today
- Total
목록Coding Test Practice in Swift (31)
VesselWheel
x만큼 간격이 있는 n개의 숫자
Description 함수 solution은 정수 x와 자연수 n을 입력 받아, x부터 시작해 x씩 증가하는 숫자를 n개 지니는 리스트를 리턴해야 합니다. 다음 제한 조건을 보고, 조건을 만족하는 함수, solution을 완성해주세요. 제한 조건 x는 -10000000 이상, 10000000 이하인 정수입니다. n은 1000 이하인 자연수입니다. func solution(_ x: Int, _ n: Int) -> [Int] { var result: [Int] = [] //결과값은 list guard x >= -10_000_000 && x
Coding Test Practice in Swift
2023. 11. 14. 20:40