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 | 31 |
Tags
- Number Theory
- 파이썬
- SQL
- array
- sorting
- geometry
- greedy
- Counting
- simulation
- 자바
- java
- 코딩테스트
- 구현
- 코테
- Binary Tree
- bit manipulation
- implement
- Data Structure
- Matrix
- database
- dynamic programming
- Method
- Binary Search
- two pointers
- hash table
- Class
- Tree
- string
- Math
- Stack
Archives
- Today
- Total
목록2021 Dev-Matching: 웹 백엔드 개발자(상반기) (1)
코린이의 소소한 공부노트
[프로그래머스/Lv.1] 로또의 최고 순위와 최저 순위
1. Input 1) 구매한 로또 번호를 담은 배열 lottos 2) 당첨 번호를 담은 배열 win_nums 2. Output 1) 당첨 가능한 최고 순위와 최저 순위를 차례대로 담은 배열 3. Constraint 1) lottos, win_nums는 길이가 6인 int 배열 2) lottos의 모든 원소는 0 이상 45 이하인 정수 3) 0은 알아볼 수 없는 숫자를 의미 4) win_nums의 모든 원소는 1 이상 45 이하인 정수 5) lottos에 중복 숫자는 0뿐이다. 6) win_nums에 중복되는 숫자는 없다. 7) lottos, win_nums의 원소들은 정렬되어 있지 않을 수도 있다. 4. Example Input: lottos={44, 1, 0, 0, 31, 25}, win_nums={3..
코딩테스트 풀이/JAVA
2022. 11. 15. 01:51