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 |
Tags
- 더현대서울 맛집
- 프로그래머스
- 자연어처리
- hackerrank
- 백준
- SW Expert Academy
- AI 경진대회
- ChatGPT
- Git
- 파이썬
- dacon
- 데이콘
- Baekjoon
- 편스토랑 우승상품
- 우분투
- github
- 코로나19
- 캐치카페
- Real or Not? NLP with Disaster Tweets
- 금융문자분석경진대회
- Docker
- 프로그래머스 파이썬
- PYTHON
- gs25
- 맥북
- 편스토랑
- ubuntu
- Kaggle
- programmers
- leetcode
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
반응형