Level2) H-Index
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 import java.util.Arrays; public class Level2_HIndex { public static int solution(int[] citations) { Arrays.sort(citations); int hIndex = 0; int n = citations.length; for (int i = 0; i = h) { hIndex = h; break; } } return hIndex; } public static void main(String[] args) { int[] citations = {3, 0, 6, 1, 5}; System.out.println(soluti..
PS/programmers
2021. 5. 4. 14:05
링크
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- BOJ
- JS 딥다이브
- js array
- 이펙티브자바
- java
- 백준
- 김영한 http
- HTTP 완벽가이드
- ㅇㄷㅇㅈ
- 킹수빈닷컴
- js api
- 백기선 스터디
- HTTP 완벽 가이드
- 드림코딩
- http
- JPA 연관관계 매핑
- 김영한 JPA
- 프로그래머스 SQL
- GCP
- 이펙티브자바 아이템59
- REST API
- 이펙티브자바 스터디
- 이펙티브자바 아이템60
- dreamcoding
- 모던자바스크립트
- 패스트캠퍼스 컴퓨터공학 완주반
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
- 프로그래머스
- js promise
- Spring Security
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함