Skip to content

Commit ad724f0

Browse files
committed
2 parents ec09b9b + fb85b62 commit ad724f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Leetcode/Summary_Ranges/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class Solution(object):
9494
for num in nums:
9595
if num - 1 not in r:
9696
r = []
97-
ranges.append(r)
97+
ranges.append(r),
9898
r[1:] = num,
9999
return ["->".join(map(str, r)) for r in ranges]
100100
```

0 commit comments

Comments
 (0)