Write a function that takes an array and returns the maximum product of any two elements?
Login to Submit
Input: [3, 4, 8, 9, 11] Output: 99 Input: [4, 5, 6, 6, 8, 8, 9, 11, 11] Output: 121 Input: [3, 3, 4, 6, 6, 9, 11, 11] Output: 121