Skip to content

Commit 3208209

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5046bae commit 3208209

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

project_euler/problem_015/sol2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
How many such routes are there through a 20x20 grid?
77
"""
88

9+
910
def solution(n: int = 20) -> int:
1011
"""
1112
Solve by explicitly counting the paths with dynamic programming.

0 commit comments

Comments
 (0)