Hackerrank 30 days of code Java Solution: Day 11: 2D Arrays

The next problem is based on 2D Arrays.Arrays are very important concept in Java.
Quick knowledge test question for you all, Arrays are classified as primitive data type, object or a Class ? I would have loved to tell you the answer but it would be not the right approach. Google it and let us also know the answer in comments sections…

Calculate the hourglass sum for every hourglass in , then print the maximum hourglass sum.

Sample Input

Sample Output

So here the Solution you have landed here for..

Thanks for the visit checkout the day 12 tutorial as well.. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *