Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- AI 경진대회
- Git
- github
- 캐치카페
- Kaggle
- hackerrank
- programmers
- 파이썬
- ChatGPT
- 자연어처리
- Real or Not? NLP with Disaster Tweets
- Docker
- 우분투
- 편스토랑 우승상품
- PYTHON
- ubuntu
- 편스토랑
- 백준
- leetcode
- 더현대서울 맛집
- dacon
- SW Expert Academy
- 프로그래머스 파이썬
- 금융문자분석경진대회
- 맥북
- 데이콘
- 코로나19
- 프로그래머스
- Baekjoon
- gs25
Archives
- Today
- Total
목록
반응형
2020/10/19 (1)
반응형
솜씨좋은장씨
[leetCode] 215. Kth Largest Element in an Array (Python)
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. Example 1: Input: [3,2,1,5,6,4] and k = 2 Output: 5 Example 2: Input: [3,2,3,1,2,4,5,5,6] and k = 4 Output: 4 Note: You may assume k is always valid, 1 ≤ k ≤ array's length. Solution class Solution: def findKthLargest(self, nums: List[int], k: int) -> int:..
Programming/코딩 1일 1문제
2020. 10. 19. 23:42
반응형