# 鏈表練習題
### 基礎題
| 題號 | 題目 | 難度 | 標籤 | 備註 | 題解 |
| -------- | -------- | -------- | -------- | -------- | -------- |
| 21 | [Merge two sorted lists 合併兩個有序鏈表](https://leetcode.cn/problems/merge-two-sorted-lists/) | <font color=DarkGreen>Easy</font>|||[Merge Two Sorted Lists 題解](https://hackmd.io/@paxton0222/SJd5UB8ch)|
| 83 |[Remove duplicates from sorted list 移除鏈表中的重複元素](https://leetcode.cn/problems/remove-duplicates-from-sorted-list/) |<font color=DarkGreen>Easy</font> | | |
|141|[Linked list cycle 環形鏈表](https://leetcode.cn/problems/linked-list-cycle/)|<font color=DarkGreen>Easy</font>|||[Linked list cycle 題解](https://hackmd.io/@paxton0222/HyAB04L53)|
|160|[Intersection of two linked lists 相交鏈表](https://leetcode.cn/problems/intersection-of-two-linked-lists/)|<font color=DarkGreen>Easy</font>|||
| 203 |[Remove linked list elements 移除鏈表中的元素](https://leetcode.cn/problems/remove-linked-list-elements/)|<font color=DarkGreen>Easy</font>|||
|206|[Reverse linked list 反轉鏈表](https://leetcode.cn/problems/reverse-linked-list/submissions/)|<font color=DarkGreen>Easy</font>|||
|234|[Palindrome linked list 回文鏈表](https://leetcode.cn/problems/palindrome-linked-list/)|<font color=DarkGreen>Easy</font>|||
|876|[Middle of the linked list 找到鏈表的中間點](https://leetcode.cn/problems/middle-of-the-linked-list/submissions/)|<font color=DarkGreen>Easy</font>|||
### 進階題
| 題號 | 題目| 難度 | 標籤 | 備註 | 題解 |
| ---- | --------------------------------------------------------------------------------------------------- | :-------------------------------- | -------------------------------------------: |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| ----------------------------------------------------------- |
| 2 | [Add two numbers](https://leetcode.cn/problems/add-two-numbers/)| <font color=Orange>Medium</font> |||[Add Two Numbers 題解](https://hackmd.io/@paxton0222/rybiVr853)|
| 19 | [Remove nth node from end of lists](https://leetcode.cn/problems/remove-nth-node-from-end-of-list/) | <font color=Orange>Medium</font> |||[Remove Nth Node From End Of Lists 題解](https://hackmd.io/@paxton0222/HJS0Rdvq3)|
| 86 | [Partition list 分隔鏈表](https://leetcode.cn/problems/partition-list/)| <font color=Orange>Medium</font> | |注意大鏈表後面有可能會指向小的,要置換成None||
| 147 | [Insertion sort list](https://leetcode.cn/problems/insertion-sort-list/)| <font color=Orange>Medium</font> |  | | [鏈表插入排序題解](https://hackmd.io/@paxton0222/BJKi9PmTj) | |
| 148 | [Sort list](https://leetcode.cn/problems/sort-list/)| <font color=Orange>Medium</font> |  | 鏈表合併排序題目<br>前置:<br>[21. Merge two sorted lists](https://leetcode.cn/problems/merge-two-sorted-lists/)<br>[876. Middle of the linked list](https://leetcode.cn/problems/middle-of-the-linked-list/submissions/)|[排序鏈表題解](https://hackmd.io/@paxton0222/rkQ2QAX6i)|
| 237 | [Delete node in a linked list](https://leetcode.cn/problems/delete-node-in-a-linked-list/)| <font color=Orange>Medium</font> ||垃圾題目||
|23| [Merge k sorted lists 合併多個鏈表](https://leetcode.cn/problems/merge-k-sorted-lists/)| <font color=Red>Hard</font>|||[合併多個鏈表題解](https://hackmd.io/@paxton0222/ByMePdGZ3)|
|25|[Reverse Nodes in k-Group](https://leetcode.com/problems/reverse-nodes-in-k-group/)|<font color=Red>Hard</font>|||[Reverse Nodes in k-Group 題解](https://hackmd.io/@paxton0222/HJjWydycp)|
|24|[Swap node in pairs 兩兩交換鏈表中的節點](https://leetcode.cn/problems/swap-nodes-in-pairs/)|<font color=Orange>Medium</font>|||[兩兩交換鏈表中的節點題解](https://hackmd.io/@paxton0222/H18IuqM-3)|
|1669|[Merge in betweens linked list 合併兩個鏈表](https://leetcode.cn/problems/merge-in-between-linked-lists/)|<font color=Orange>Medium</font>|||
|92|[Reverse Linked List II](https://leetcode.com/problems/reverse-linked-list-ii/description/)|<font color=Orange>Medium</font>|||[Reverse Linked List II 題解](https://hackmd.io/@paxton0222/H1xJr_D5h)|
|61|[Rotate List](https://leetcode.com/problems/rotate-list/description/?envType=study-plan-v2&envId=top-interview-150)|<font color=Orange>Medium</font>|||[Rotate List 題解](https://hackmd.io/@paxton0222/rk2PnJAa2)|
|86|[Partition List](https://leetcode.com/problems/partition-list/description/?envType=study-plan-v2&envId=top-interview-150)|<font color=Orange>Medium</font>|||[Partition List 題解](https://hackmd.io/@paxton0222/HycwWgRT3)
|82|[Remove Duplicates from Sorted List II](https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/description/?envType=study-plan-v2&envId=top-interview-150)|<font color=Orange>Medium</font>|||[Remove Duplicates from Sorted List II 題解](https://hackmd.io/@paxton0222/BJ9inaR6h)|
|146|[LRU Cache](https://leetcode.com/problems/lru-cache/)|<font color=Orange>Medium</font>||雜湊 + 雙項鏈錶|[LRU Cache 題解](https://hackmd.io/@paxton0222/HkPUZslCn)|
|706|[Design HashMap](https://leetcode.com/problems/design-hashmap/description/)|<font color=Orange>Medium</font>||鏈錶 + 陣列|[Design HashMap 題解](https://hackmd.io/@paxton0222/r1gNh32bCh)|