improve the solution of "Maximum Product Subarray" O(N²) ->O(N)