Cisco interview question

Find out maximum sub array in a given array?