Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- backtracking
- 쉬움
- matrix
- HashTable
- binary tree
- Python
- 재귀
- 문자열
- dfs
- Array
- binary search
- list
- linked list
- 중간
- two pointers
- easy
- DP
- 리트코드
- Depth-first Search
- Binary
- math
- hash table
- tree
- 이진트리
- leetcode
- string
- sorting
- Medium
- 미디움
- recursive
Archives
- Today
- Total
목록2024/02/06 (1)
부부의 코딩 성장 일기
LeetCode 210(Contains Duplicate II, Python)
1. 문제 링크 https://leetcode.com/problems/contains-duplicate-ii/description/ Contains Duplicate II - LeetCode Can you solve this real interview question? Contains Duplicate II - Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that nums[i] == nums[j] and abs(i - j) k: window.remove(nums[i - k]) return False
카테고리 없음
2024. 2. 6. 19:00