LC: 624. Maximum Distance in Arrays
https://leetcode.com/problems/maximum-distance-in-arrays/
Input: arrays = [[1,2,3],[4,5],[1,2,3]]
Output: 4
Explanation: One way to reach the maximum distance 4 is to pick 1 in the first or third array and pick 5 in the second array.Input: arrays = [[1],[1]]
Output: 0Input: arrays = [[1],[2]]
Output: 1Input: arrays = [[1,4],[0,5]]
Output: 4Last updated