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 경진대회
- programmers
- 편스토랑 우승상품
- 코로나19
- 더현대서울 맛집
- 데이콘
- Git
- Real or Not? NLP with Disaster Tweets
- gs25
- dacon
- 캐치카페
- 프로그래머스
- hackerrank
- 백준
- 맥북
- leetcode
- 금융문자분석경진대회
- 파이썬
- 프로그래머스 파이썬
- PYTHON
- Docker
- 우분투
- ChatGPT
- 자연어처리
- Kaggle
- SW Expert Academy
- github
- Baekjoon
- ubuntu
Archives
- Today
- Total
목록
반응형
747. Largest Number At Least Twice of Others (1)
반응형
솜씨좋은장씨
[leetCode] 747. Largest Number At Least Twice of Others (Python)
In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as much as every other number in the array. If it is, return the index of the largest element, otherwise return -1. Example 1: Input: nums = [3, 6, 1, 0] Output: 1 Explanation: 6 is the largest integer, and for every other number in the array x, 6 is more th..
Programming/코딩 1일 1문제
2020. 11. 13. 00:19
반응형