• + 1 comment

    This is correct, but the test cases given also had nothing lower than -54, which was lucky for me, since I made the (mindless) error of thinking there were only 6 elements in an hourglass.

    One of the test cases should have a max of -62 for this reason, IMO.