일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- 카카오맵클론
- unittest
- ARC
- Swift코딩테스트
- IOS
- alamofire
- 클린코드
- firestore
- UIKit
- five lines of cdde
- firebase
- RC
- css학습
- AutoLayout
- Di
- hackerrank
- 앱의생명주기
- SWIFT
- Swift디자인패턴
- 코딩테스트입문
- RxSwift
- 리팩터링
- Safari Inspector
- 프로그래머스
- mrc
- ios면접
- algorithm
- TDD
- five lines of code
- storekit2
- Today
- Total
목록Algorithm (30)
샘성의 iOS 개발 일지
문제 설명: Sam's house has an apple tree and an orange tree that yield an abundance of fruit. Using the information given below, determine the number of apples and oranges that land on Sam's house. In the diagram below: The red region denotes the house, where s is the start point, and t is the endpoint. The apple tree is to the left of the house, and the orange tree is to its right. Assume the trees..
문제 설명: HackerLand University has the following grading policy: Every student receives a grades in the inclusive range from 0 to 100. Any grade less than 40 is a failing grade. Sam is a professor at the university and likes to round each student's according to these rules: If the difference between the grade and the next multiple of 5 is less than 3, round grade up to the next multiple of 5. If t..
문제 설명: Given a time in -hour AM/PM format, convert it to military (24-hour) time. Note: - 12:00:00AM on a 12-hour clock is 00:00:00 on a 24-hour clock. - 12:00:00PM on a 12-hour clock is 12:00:00 on a 24-hour clock. Example * s = '12:01:00 PM' Return '12:01:00'. * s = '12:01:00 AM' Return '00:01:00'. 내 풀이: func timeConversion(s: String) -> String { // Foundation에 dateFormatter 있으므로 활용 var timeFo..