Cisco interview question

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