Notice
Recent Posts
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- RC
- 클린코드
- 리팩터링
- 코딩테스트입문
- 프로그래머스
- 카카오맵클론
- five lines of cdde
- ios면접
- alamofire
- Safari Inspector
- AutoLayout
- firebase
- RxSwift
- firestore
- hackerrank
- IOS
- algorithm
- SWIFT
- storekit2
- unittest
- mrc
- UIKit
- 앱의생명주기
- css학습
- TDD
- Swift코딩테스트
- five lines of code
- Di
- Swift디자인패턴
- ARC
Archives
- Today
- Total
목록알고리즘입문 (1)
샘성의 iOS 개발 일지
[Warm Up] Diagonal Difference
문제 설명: Given a square matrix, calculate the absolute difference between the sums of its diagonals. For example, the square matrix is shown below: 1 2 3 4 5 6 9 8 9 The left-to-right diagonal = 1 + 5 + 9 = 15. The right to left diagonal = 9 + 5 + 3 = 17. Their absolute difference is |15 - 17|. Complete the diagonalDifference function in the editor below. diagonalDifference takes the following par..
Algorithm/HackerRank
2023. 5. 11. 13:37