注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
1. Leetcode 476
2. Give two arrays, one is original, the other is rotation array. Calculate maximal value index after every time the original array does left rotation based on rotation array. For example,
Original array: connected
4 and 6 connected
There are two graphs, the maximal difference is graph {1, 2, 3, 5}, maximal difference is 5 - 1 = 4
|