Amazon Interview Question

Find the greatest product using 3 numbers in an array.

Interview Answers

Anonymous

Feb 28, 2018

How about sorting the array ?

1

Anonymous

Aug 18, 2017

check for corner cases considering negative numbers.

1

Anonymous

May 6, 2021

sort the array and do product for last 3 values in array