We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca23f36 commit 782beccCopy full SHA for 782becc
13334.py
@@ -22,6 +22,7 @@
22
heapq.heappush(heap, info)
23
while heap and heap[0][0] < startPoint:
24
heapq.heappop(heap)
25
+
26
maxPath = max(maxPath, len(heap))
27
28
print(maxPath)
9252.py
@@ -6,8 +6,6 @@
6
lengthA = len(stringA)
7
lengthB = len(stringB)
8
9
-
10
-count = 0
11
dp = [[0] * (lengthB + 1) for _ in range(lengthA + 1)]
12
13
for i in range(1, lengthA+1):
0 commit comments