Qualcomm Interview Question

greatest sub sequential sum question