Pergunta de entrevista da empresa Nextag

Find max subsequence sum in a sequence of integers