EarnIn interview question

Find a maximum peak given a 2d array