Minimize (max(A[i], B[j], C[k]) - min(A[i], B[j], C[k])) of three different sorted arrays
Given three sorted arrays arr1, arr2, and arr3 of not necessarily same sizes. The task is to calculate the minimum absolute difference between the maximum and minimum number of any triplet arr1[i], arr2[j], arr3[k] such that they belong to arrays arr1, arr2 and arr3 respectively, i.e., minimize (max