or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
Leetcode learning use C++
數組
1. Two Sum
35. Search Insert Position
27. Remove Element
15. 3Sum
209. Minimum Size Subarray Sum
59. Spiral Matrix II
鍊錶
203. Remove Linked List Elements
<法一>
<法二 虛擬頭結點> good
707. Design Linked List
206. Reverse Linked List
<two pointer>
<遞歸解>
142. Linked List Cycle II
哈希表
242. Valid Anagram
349. Intersection of Two Arrays
202. Happy Number
1. Two Sum
383. Ransom Note
15. 3Sum
18. 4Sum
字符串
344. Reverse String
541. Reverse String II
151. Reverse Words in a String
28. Implement strStr()
459. Repeated Substring Pattern
Stack & Queue
232. Implement Queue using Stacks
225. Implement Stack using Queues
20. Valid Parentheses
1047. Remove All Adjacent Duplicates In String
150. Evaluate Reverse Polish Notation
239. Sliding Window Maximum
347. Top K Frequent Elements
Binary Tree
144. Binary Tree Preorder Traversal
145. Binary Tree Postorder Traversal
94. Binary Tree Inorder Traversal
102. Binary Tree Level Order Traversal
226. Invert Binary Tree
101. Symmetric Tree