Pergunta de entrevista da empresa Bloomberg

Given an array of integers, write an algorithm to find the largest sum of consecutive integers in the array.