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
- math
- matrix
- backtracking
- HashTable
- leetcode
- list
- Binary
- binary search
- 문자열
- two pointers
- tree
- 미디움
- Array
- easy
- binary tree
- 이진트리
- Depth-first Search
- hash table
- recursive
- 재귀
- Medium
- Python
- string
- DP
- 중간
- 리트코드
- 쉬움
- linked list
- dfs
- sorting
Archives
- Today
- Total
목록swap (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