The problem: Find the largest product of 4 adjacent numbers in a 20×20 grid. Numbers can be adjacent in any direction, vertical, horizontal, diagonal. http://projecteuler.net/problem=11 My solution (in java):
The problem: Find the largest product of 4 adjacent numbers in a 20×20 grid. Numbers can be adjacent in any direction, vertical, horizontal, diagonal. http://projecteuler.net/problem=11 My solution (in java):