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
- 이진트리
- Python
- easy
- Depth-first Search
- sorting
- Array
- 쉬움
- recursive
- leetcode
- linked list
- list
- 중간
- dfs
- string
- binary tree
- math
- hash table
- DP
- Binary
- two pointers
- binary search
- 문자열
- Medium
- 재귀
- tree
- 미디움
- HashTable
- matrix
- 리트코드
- backtracking
Archives
- Today
- Total
목록2023/12/20 (1)
부부의 코딩 성장 일기
LeetCode 24( Swap Nodes in Pairs, Python)
1. 문제 링크 Swap Nodes in Pairs - LeetCode Swap Nodes in Pairs - LeetCode Can you solve this real interview question? Swap Nodes in Pairs - Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be chan leetcode.com 2. 문제 설명 주어진 연결 리스트의 인접한 두 (홀수, 짝수) 노드를 서로 바꾸어 (짝수, 홀수)로 반환..
Algorithm/LeetCode
2023. 12. 20. 19:00