Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 자연어처리
- leetcode
- Real or Not? NLP with Disaster Tweets
- 백준
- 더현대서울 맛집
- 캐치카페
- SW Expert Academy
- ubuntu
- 편스토랑 우승상품
- programmers
- AI 경진대회
- Kaggle
- 코로나19
- Baekjoon
- github
- 우분투
- hackerrank
- 파이썬
- 편스토랑
- dacon
- 프로그래머스 파이썬
- PYTHON
- Git
- Docker
- gs25
- 맥북
- ChatGPT
- 금융문자분석경진대회
- 데이콘
- 프로그래머스
Archives
- Today
- Total
목록
반응형
Diagonal Difference (1)
반응형
솜씨좋은장씨
[HackerRank] Diagonal Difference (Python)
Given a square matrix, calculate the absolute difference between the sums of its diagonals. For example, the square matrix arr 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 = 3 + 5 + 9 = 17. Their absolute difference is | 15 - 17 | = 2. Function description Complete the diagonalDifference function in the editor below. It must return an ..
Programming/코딩 1일 1문제
2020. 3. 15. 16:44
반응형