https://cote.inflearn.com/contest/10/problem/06-04
https://and-some.tistory.com/580
list 메서드
set
list.set(위치, 숫자);
remove할 경우, 모든 '2' 삭제시
list.removeAll(Arrays.asList(2));
첫번째 2만 삭제시
list.remove(Integer.valueOf(2));
https://cote.inflearn.com/contest/10/problem/06-05
https://and-some.tistory.com/581
https://cote.inflearn.com/contest/10/problem/06-06
https://and-some.tistory.com/582
https://cote.inflearn.com/contest/10/problem/06-07
https://and-some.tistory.com/584
https://cote.inflearn.com/contest/10/problem/06-08
https://and-some.tistory.com/585
https://cote.inflearn.com/contest/10/problem/06-09
https://and-some.tistory.com/587
https://cote.inflearn.com/contest/10/problem/06-10
https://and-some.tistory.com/589
문제 해결 순서
1. int형 -> 문자열 변경하는 2가지 방법
2. 문자열로 int 표현시 "0" 처리하는 2가지 방법
3. 직접 더해보지 않고, 정렬하는 방법
https://school.programmers.co.kr/learn/courses/30/lessons/42746
가장 큰 수
이분탐색 lt,rt -> 유효한 lt,rt 설정
https://www.acmicpc.net/problem/2512
https://and-some.tistory.com/823
https://and-some.tistory.com/639
https://leetcode.com/problems/move-zeroes/submissions/
https://and-some.tistory.com/887
https://leetcode.com/problems/kth-largest-element-in-an-array/submissions/
https://and-some.tistory.com/888
https://leetcode.com/problems/k-closest-points-to-origin/submissions/
https://and-some.tistory.com/889
https://www.lintcode.com/problem/920/
https://and-some.tistory.com/890
https://www.lintcode.com/problem/920/
https://and-some.tistory.com/891
https://leetcode.com/problems/merge-intervals/submissions/
https://and-some.tistory.com/892
https://leetcode.com/problems/reorder-data-in-log-files/submissions/
https://and-some.tistory.com/893
'Java > Java 알고리즘 모음' 카테고리의 다른 글
[Java 알고리즘] 7. 그리디 모음 (0) | 2022.11.15 |
---|---|
[Java 알고리즘] 6. 큐/스택 모음 (0) | 2022.11.15 |
[Java 알고리즘] 4. Hash/Set 모음 (0) | 2022.11.15 |
[Java 알고리즘] 3. 투포인터/슬라이딩윈도우/연속부분수열 모음 (0) | 2022.11.15 |
[Java 알고리즘] 2. Array 모음 (0) | 2022.11.14 |