Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Sep 21, 2024
1 parent 07d4a47 commit fb85b62
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 fb85b62

Please sign in to comment.