Pergunta de entrevista da empresa Yandex

One of the coding section problem were "how to find a subrange with maximum sum".