結果 : print subarray with maximum subarray sum (extended version of above problem) practice