You have three lists of n numbers. Choose one number from each so that the largest minus the smallest of the three is as small as possible. What algorithm do you use?
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related questions
Write a MapReduce algorithm for the closed-form OLS solution when the number of rows n is far too large for one machine, the number of features k is small and you have m machines.Find the largest number possible from a given set of numbers.Given arrays A and B, build C with C[i] chosen from A[i] or B[i] so that the smallest missing positive integer of C is as small as possible, and return it.Related courses

Course

Course