Skip to content

Commit 6d3cad1

Browse files
committed
2024 KAKAO WINTER INTERNSHIP n + 1 카드게임
문제 링크: https://school.programmers.co.kr/learn/courses/30/lessons/258707
1 parent 328acd9 commit 6d3cad1

File tree

1 file changed

+1
-1
lines changed
  • leetcode.com 846. Hand of Straights

1 file changed

+1
-1
lines changed

leetcode.com 846. Hand of Straights/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def isNStraightHand(self, hand: List[int], groupSize: int) -> bool:
2424
t1, length = heapq.heappop(heap)
2525
if t + 1 == t1:
2626
t = t1
27-
removes.append((t, length - 1))
27+
removes.append((t1, length - 1))
2828
else:
2929
return False
3030

0 commit comments

Comments
 (0)