Max Product Of Three Numbers
easy
1. Given an integer array 'arr', 2. Find three numbers whose product is maximum and return the maximum product.
Constraints
1. 3 <= nums.length <= 10^4 2. -1000 <= nums[i] <= 1000
Format
Input
(Already managed for you) 4 1 2 3 4
Output
(Already managed for you) 24
Example
Sample Input
6
3 2 -4 -6 5 1
Sample Output
120