반응형
Recent Posts
Notice
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
- leetcode
- 99클럽
- Python
- 큐
- 99항해
- 해시
- 스택
- 백준 2309
- 백준
- 항해99
- softeer
- BOJ
- 파이썬
- dfs
- 구현
- 알고리즘
- 활성화 함수
- 코딩테스트준비
- 코딩테스트 준비
- easy 딥러닝
- til
- BFS
- 혁펜하임
- 기능개발
- python 2309
- 개발자취업
- 프로그래머스
- 딥러닝
- boj 2309
- 개발자 취업
Archives
- Today
- Total
목록python 1253 (1)
동까의 코딩
99클럽 코테 스터디 4일차 TIL
https://www.acmicpc.net/problem/1253 시간복잡도가 중요한 문제이기 때문에 투포인터로 문제를 풀이했다. import sysinput = sys.stdin.readlinen = int(input())arr = list(map(int, input().split()))arr.sort()cnt = 0for i in range(n): end = arr[i] start = 0 tail = len(arr) - 1 while start end: tail -= 1 elif arr[start] + arr[tail]
문제 풀이/99클럽
2025. 1. 17. 01:38