the product difference pair b c d define b c dFor example product difference 5 6 2 7 5 6 2 7 16given integer array num choose distinct index w x y z product difference pair numsw numsx numsy numsz maximizedreturn maximum product difference Example 1input num 56274output 34explanation we choose index 1 3 pair 6 7 index 2 4 second pair 2 4the product difference 6 7 2 4 34example 2input num 4259748output 64explanation we choose index 3 6 pair 9 8 index 1 5 second pair 2 4the product difference 9 8 2 4 64 constraints4 numslength 1041 numsi 104