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

Revision en1, by jaswanthi, 2015-06-10 10:18:48

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, Can you explain how can I solve it 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)