Maximum Subarray Product Leetcode 1509 Doctors