Skip to content

Commit eb08b08

Browse files
authored
Update minimum-cost-for-cutting-cake-i.py
1 parent 21f45d2 commit eb08b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/minimum-cost-for-cutting-cake-i.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ def memoization(x1, y1, x2, y2):
7474
lookup[x1][y1][x2][y2] = mn
7575
return lookup[x1][y1][x2][y2]
7676

77-
lookup = [[[[-1]*n for _ in range(m)]for _ in range(n)]for _ in range(m)]
77+
lookup = [[[[-1]*n for _ in range(m)]for _ in range(n)] for _ in range(m)]
7878
return memoization(0, 0, m-1, n-1)
7979

0 commit comments

Comments
 (0)