Skip to content

Commit 5a74704

Browse files
authored
Update knight-dialer.py
1 parent fb1f253 commit 5a74704

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Python/knight-dialer.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ def matrix_mult(A, B):
2626
for col in ZB] for row in A]
2727

2828
M = 10**9 + 7
29-
if N == 1:
30-
return 10
31-
3229
T = [[0, 0, 0, 0, 1, 0, 1, 0, 0, 0],
3330
[0, 0, 0, 0, 0, 0, 1, 0, 1, 0],
3431
[0, 0, 0, 0, 0, 0, 0, 1, 0, 1],

0 commit comments

Comments
 (0)