Project Euler #11 Solution

Link to Project Euler

Given a 20 x 20 grid, what is the greatest product of four adjacent numbers in the same direction (up, down, left, right, or diagonally)?

Result: Please click a button above to run solution