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 |
Tags
- algorithm
- 반효경교수님
- 이분탐색
- Bruteforce
- 완전탐색
- domain model
- Mendix
- 그래프
- 재귀
- 해시맵
- 가중치없는그래프
- Sort
- dfs
- 매개변수 탐색
- 프로그래머스
- git
- 자바
- 정렬
- Recursion
- MySQL
- 트리
- microflow
- 알고리즘
- 멘딕스
- SQL
- 백트래킹
- 집합
- 스택
- lcap
- 자료구조
Archives
- Today
- Total
728x90
목록binary search (1)
mondegreen
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b5zI8T/btsFyPdptkG/eEc8hpihSw0HT37JvA83n0/img.png)
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); String[] pool = new String[n]; for (int i = 0; i < n; i++) { pool[i] = sc.next(); } // 이분 탐색은 정렬된 배열에서 진행 가능함 Arrays.sort(pool); int cnt = 0; for (int i = 0; i < m; i++) { String thisStr = sc.next(); int l..
알고리즘 풀이 및 리뷰/[패캠] 핵심유형 20개로 한 번에 끝내는 알고리즘 코딩테스트 리뷰
2024. 3. 6. 10:04
728x90