Frage im Vorstellungsgespräch bei Cisco

Find largest consecutive sum in array (basic DP problem), mirror numbers