pyassistant

Maximum Product of Two Elements

Given a list of integers, write a function to find the maximum product of two distinct elements. Return the maximum product.

Example:

Input:
[3, 6, 8, 2, 5]
Output:
48

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.