Back to Question

Maximum Product Subarray

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

Click "Start Speaking" and answer the question naturally.