Back to Questions

Maximum Product Subarray

139.2K viewsAsked at Amazon
Medium

Question Explain

Given an integer array `nums`, find a contiguous subarray that has the largest product, and return the product.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Maximum Product Subarray - Interview Question