AICS interview question

Maximum sum subarray and Maximum product subarray