Leetcode Maximum Product Subarray Geeksforgeeks Machine