본문 바로가기

problem solving/Project Euler

Problem 15 - Starting in the top left corner in a 20 by 20 grid, how many routes are there to the bottom right corner?

링크

Starting in the top left corner of a 2×2 grid, there are 6 routes (without backtracking) to the bottom right corner.

How many routes are there through a 20×20 grid?


40 C 20 (combination) 을 구하면 된다.

python