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
- 프로그래머스
- 백준
- [sqld]자격증합격
- Common Child
- 구슬탈출2
- 피보나치 함수
- Max Array Sum
- Algorithm
- DFS: Connected Cell in a Grid
- 야근지수
- candies
- 파이썬
- hackerrank
- python
- Recursion: Davis' Staircase
- 격파르타 장점
- BFS: Shortest Reach in a Graph
- Interview Preparation Kit
- 매칭점수
- 코딩테스트
- Reverse Shuffle Merge
- 해커랭크
- Roads and Libraries
- programmers
- Find the nearest clone
- 격파르타 합격후기
- Special String Again
- 머신러닝
- 알고리즘
- 격파르타 후기
Archives
- Today
- Total
목록Fraudulent Activity Notifications (1)
Archive

https://www.hackerrank.com/challenges/fraudulent-activity-notifications/problem Fraudulent Activity Notifications | HackerRank Print the number of times a customer receives a notification www.hackerrank.com 풀이 d길이를 유지하면서 median을 유동적으로 계속 구해줘야함. 한 번 iteration할 때마다 sort하고, median을 직접 계산하면 timeout. 문제 조건에서 expenditure[i]는 0 이상 200 이하의 정수임을 명시했기 때문에 이를 count하는 배열을 만들어 median을 구하는데 활용. count[expendit..
공부/Algorithm
2020. 8. 24. 17:36