Skip to main content
Admissions guidance, study banks, and career tools โ€” get started on Shalyam

Maximum Product of Three Numbers

Print the maximum product of any three numbers in the array.

Constraints

3 <= n <= 10^4 -1000 <= nums[i] <= 1000

Discussion

No discussions yet.

Rewards ยท v2.1

Join Shalyam Newsletter

Get exclusive insights with every issue: education, research and innovation news.

One email a week. Unsubscribe any time.