"Find the greatest product of four numbers in any direction (up, down, left, right, or diagonally) in the 20x20 grid. Append the value at row 16 and column 5 to the result."
I tried many times but failed.
Question 1: if this level is ask me to traverse every postion to find its 4 most big neighbours from all 8 neighbours then calc the prodcut of the four?
question 2: if this level is ask me to traverse every postion to calc its up, down, left, right's product then compare the product of its diagonally four neighbours,choose the bigger one.
the last question: is the row and column indexed from 0?
My english is very poor,so I can't understand the question.Can I get some help from here? thanks.