Microsoft Interview Question

Find the maximum consecutive sum in an array