[amazon] max sum of sub matrix (2D kadane)