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
- 캐치카페
- Git
- Baekjoon
- Docker
- 백준
- ubuntu
- hackerrank
- 편스토랑
- Real or Not? NLP with Disaster Tweets
- 우분투
- 프로그래머스
- gs25
- dacon
- programmers
- 금융문자분석경진대회
- leetcode
- 더현대서울 맛집
- 자연어처리
- AI 경진대회
- SW Expert Academy
- github
- 파이썬
- 프로그래머스 파이썬
- 맥북
- ChatGPT
- PYTHON
- 데이콘
- Kaggle
- 코로나19
- 편스토랑 우승상품
Archives
- Today
- Total
목록
반응형
Third Maximum Number (1)
반응형
솜씨좋은장씨
[leetCode] 414. Third Maximum Number (Python)
Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity must be in O(n). Example 1: Input: [3, 2, 1] Output: 1 Explanation: The third maximum is 1. Example 2: Input: [1, 2] Output: 2 Explanation: The third maximum does not exist, so the maximum (2) is returned instead. Example 3: Input: [2, 2, 3, 1] ..
Programming/코딩 1일 1문제
2020. 3. 5. 16:30
반응형