Note: If you have already solved the Java domain's Java 2D Array challenge, you may wish to skip this challenge. Complete the function hourglassSum in the editor below. It should return an integer, ...
This code calculates the maximum sum of an hourglass in a 2D array. An hourglass in a 2D array is a set of 7 numbers arranged in the following pattern: a b c d e f g ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results