Notice
Recent Posts
Recent Comments
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 |
Tags
- Riot
- 코딩테스트준비
- git
- 파이썬
- 자바
- 그리디알고리즘
- java
- API
- 백준
- github
- drf
- 장고
- lol
- sort
- SQL
- 리그오브레전드
- python
- 라이엇
- 프로그래머스
- 탐욕알고리즘
- 스파르타내일배움캠프TIL
- Django
- 롤
- 스파르타내일배움캠프
- 그리디
- programmers
- 내일배움캠프
- 코딩테스트
- 알고리즘
- greedy
Archives
- Today
- Total
목록문제 풀이/HackerRank (1)
Lina's Toolbox
[Greedy] hackerrank - Minimum Absolute Difference in an Array
https://www.hackerrank.com/challenges/minimum-absolute-difference-in-an-array/problem?isFullScreen=true Minimum Absolute Difference in an Array | HackerRankGiven a list of integers, calculate their differences and find the difference with the smallest absolute value.www.hackerrank.com 문제주어진 코드는 minimumAbsoluteDifference 함수에서 정수 배열(리스트) arr의 최소 절대 차이를 구하는 문제이다. 예를들어 input이33 -7 0 이라면, output은3 i..
문제 풀이/HackerRank
2024. 9. 24. 11:47