Find a minimum range | Yaozong's Blog
There is a two-dimensional array where each sub-array (row) is sorted, find a minimum range contain a number from each row.
Example:
Read full article from Find a minimum range | Yaozong's Blog
Find a minimum range | Yaozong's Blog
There is a two-dimensional array where each sub-array (row) is sorted, find a minimum range contain a number from each row.
Example:
1 2 | Input: [[1 1000 2000], [20 1001 5000], [55 1002 222222]] Answer: [1000-1002] |
Read full article from Find a minimum range | Yaozong's Blog
No comments:
Post a Comment