Project-Euler / 11

Problem 11 asks:

What is the greatest product of four adjacent numbers in any direction (up, down, left, right, or diagonally) in the 20×20 grid?

I was going to solve this in Java but ended up just using my eyes (with a little help from Vim).

Searching [98]\d in Vim with 'hlsearch' set on.

Last updated on .