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 | 30 | 31 |
Tags
- dfs
- binary tree
- easy
- linked list
- 쉬움
- hash table
- Array
- Binary
- 리트코드
- leetcode
- 이진트리
- matrix
- 미디움
- 재귀
- recursive
- 문자열
- binary search
- Depth-first Search
- list
- backtracking
- Python
- HashTable
- two pointers
- string
- sorting
- tree
- DP
- 중간
- Medium
- math
Archives
- Today
- Total
목록Longest Consecutive Sequence (1)
부부의 코딩 성장 일기
LeetCode 128(Longest Consecutive Sequence, Python)
1. 문제 링크 https://leetcode.com/problems/longest-consecutive-sequence/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 2. 문제 설명 unsorted 된 정수로 구성된 nums가 주어졌을 때, 가장 긴 연속된 elements 순서의 길이를 반환 시간복잡도는 O(n)으로 작성할 것 예시1) nums = [10..
Algorithm/LeetCode
2024. 3. 7. 19:00