Pregunta de entrevista de SAP

coding: Maximum sum of subarray with one skipped element. array includes both positive and negative numbers.