Google Interview Question

1) to get the max subarray with sum equal K Follow up question (without implementation) to do the same but for 2D array