Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Sep 25, 2024
2 parents ec09b9b + fb85b62 commit ad724f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Leetcode/Summary_Ranges/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Solution(object):
for num in nums:
if num - 1 not in r:
r = []
ranges.append(r)
ranges.append(r),
r[1:] = num,
return ["->".join(map(str, r)) for r in ranges]
```
Expand Down

0 comments on commit ad724f0

Please sign in to comment.