Reverse Subarray To Maximize Array Value Google