Yandex Interview Question

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