일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Swift코딩테스트
- 앱의생명주기
- Swift디자인패턴
- RxSwift
- RC
- ARC
- alamofire
- SWIFT
- ReactorKit UnitTest
- 시험에자주나오는것만
- Bubble Search
- firestore
- 반응형프레임워크
- hackerrank
- 코딩테스트입문
- mrc
- HackersRank
- 프로그래머스
- iOS앱 디버깅
- ios면접
- TDD
- Safari Inspector
- unittest
- firebase
- algorithm
- Di
- UIKit
- AutoLayout
- IOS
- 카카오맵클론
- Today
- Total
목록Algorithm/HackerRank (12)
샘성의 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..