pyassistant

Maximum Product of Three Integers

Given a list of integers, write a function to return the maximum product that can be obtained by multiplying any three integers from the list.

Example:

Input:
[2, -5, 3, -2, 0, 7]
Output:
42

Make sure you return your solution, don't print!

AI

Bot

Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.