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 ?
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 ?