JPMorganChase Interview Question

how would you find the lagerst sum in a sub-array