We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 328acd9 commit 6d3cad1Copy full SHA for 6d3cad1
leetcode.com 846. Hand of Straights/main.py
@@ -24,7 +24,7 @@ def isNStraightHand(self, hand: List[int], groupSize: int) -> bool:
24
t1, length = heapq.heappop(heap)
25
if t + 1 == t1:
26
t = t1
27
- removes.append((t, length - 1))
+ removes.append((t1, length - 1))
28
else:
29
return False
30
0 commit comments