| about | help | code help+videos | done | prefs | 
public int minMaxProduct(int[] nums). Given an array of integers, find the largest and smallest values and return their PRODUCT. minMaxProduct([3, 4, 5]) → 15 minMaxProduct([5, 4, 3, 2, 1]) → 5 minMaxProduct([-6, 5, 7, 0, 3]) → -42 ...Save, Compile, Run (ctrl-enter)  | 
Progress graphs: 
 Your progress graph for this problem
 Random user progress graph for this problem 
 Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy