Skip to content

Commit ebebb3a

Browse files
committed
19-remove-nth-node-from-end-of-list.md Added tip 1
1 parent 9612035 commit ebebb3a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

solutions/1-1000/19-remove-nth-node-from-end-of-list.md

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ Given the `head` of a linked list, remove the `n-th` node from the end of the li
3030
- `0 <= Node.val <= 100`
3131
- `1 <= n <= sz`
3232

33+
<details>
34+
<summary>Hint 1</summary>
35+
Maintain two pointers and update one with a delay of n steps.
36+
</details>
37+
3338
## Intuition behind the Solution
3439
[中文题解](#中文题解)
3540

0 commit comments

Comments
 (0)