Pergunta de entrevista da empresa Flying Lab Software

Write a program that finds the maximum sum in an array of integers.