leetcode maximum product subarray - incomplete