You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/docs/CommunityShare/Leetcode/[2562]找出数组的串联值_translated.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,27 @@
1
1
---
2
2
title: 2562.Find the series of the array
3
-
date: '2024.01.01 0:00'
3
+
date: "2024.01.01 0:00"
4
4
tags:
5
5
- Python
6
6
- answer
7
7
- Array
8
8
- Double pointer
9
9
- simulation
10
10
abbrlink: b625a0e1
11
+
docId: naxatag8x2nnvkhbwdfc1azc
11
12
---
13
+
12
14
# topic:
13
15
14
16
[2562.Find the series of the array.md](https://leetcode-cn.com/problems/find-the-concatenation-of-an-array/)
17
+
15
18
# Thought:
19
+
16
20
This question andquiz4very similar,都是Double pointer。
17
21
I made a mistake when I did this question,When calculating the right pointer, the negative index is calculated`right = -left + 1`,It is difficult to calculate the relationship between positive indexes,So replaced`right = len(nums) - 1 - left`。
0 commit comments