Amazon interview question

Write a test script to find the maximum product of two given elements in an array