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
- 우분투
- 데이콘
- 프로그래머스 파이썬
- 편스토랑 우승상품
- 프로그래머스
- ChatGPT
- 자연어처리
- ubuntu
- 코로나19
- gs25
- Docker
- dacon
- 더현대서울 맛집
- Kaggle
- SW Expert Academy
- 파이썬
- github
- 캐치카페
- Real or Not? NLP with Disaster Tweets
- programmers
- 금융문자분석경진대회
- 맥북
- PYTHON
- 백준
- AI 경진대회
- Baekjoon
- leetcode
- 편스토랑
- Git
- hackerrank
Archives
- Today
- Total
목록
반응형
219. Contains Duplicate II (1)
반응형
솜씨좋은장씨
[leetCode] 219. Contains Duplicate II (Python)
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute difference between i and j is at most k. Example 1: Input: nums = [1,2,3,1], k = 3 Output: true Example 2: Input: nums = [1,0,1,1], k = 1 Output: true Example 3: Input: nums = [1,2,3,1,2,3], k = 2 Output: false Solution class Solution: def..
Programming/코딩 1일 1문제
2020. 10. 28. 19:47
반응형