Project Euler#11 Largest product in a grid, Solving with Direction Array

Revision en2, by jaswanthi, 2015-06-10 11:09:49

How to solve "Largest product in a grid" Project Euler#11 using direction array.

As Copy pasting the code for each direction is error prone, How can it be solved using direction array ?

Tags project euler, array

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English jaswanthi 2015-06-10 11:09:49 30
en1 English jaswanthi 2015-06-10 10:18:48 314 Initial revision (published)