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
- 코로나19
- SW Expert Academy
- PYTHON
- Real or Not? NLP with Disaster Tweets
- Docker
- 우분투
- AI 경진대회
- 금융문자분석경진대회
- 파이썬
- Baekjoon
- 백준
- 맥북
- 캐치카페
- programmers
- 더현대서울 맛집
- ubuntu
- 데이콘
- dacon
- ChatGPT
- 자연어처리
- Git
- Kaggle
- hackerrank
- 편스토랑 우승상품
- 프로그래머스 파이썬
- github
- leetcode
- 편스토랑
- 프로그래머스
- gs25
Archives
- Today
- Total
목록
반응형
Missing Number (1)
반응형
솜씨좋은장씨
[leetCode] 268. Missing Number (Python)
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1: Input: [3,0,1] Output: 2 Example 2: Input: [9,6,4,2,3,5,7,0,1] Output: 8 Note: Your algorithm should run in linear runtime complexity. Could you implement it using only constant extra space complexity? Solution class Solution: def missingNumber(self, nums: List[int]) -..
Programming/코딩 1일 1문제
2020. 6. 9. 23:13
반응형