Pergunta de entrevista da empresa SAP

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