Peloton Interactive Interview Question

4) Maximum subarray and Maxium product subarray