We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
i Guess it is just to set the max_sum with the value of first hourglass.
So that doesn't need to handle negative value separately i-e
no need to initialse
max_value with minimum Integer(Integer.MIN_VALUE);
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 11: 2D Arrays
You are viewing a single comment's thread. Return to all comments →
i Guess it is just to set the max_sum with the value of first hourglass. So that doesn't need to handle negative value separately i-e no need to initialse max_value with minimum Integer(Integer.MIN_VALUE);