[problem](https://mirror.codeforces.com/contest/1651/problem/C)↵
↵
My solution : (https://mirror.codeforces.com/contest/1651/submission/271500008)↵
↵
MY idea : ↵
↵
Optimal strategy is to connect the extremes of the arrays to the other network. In doing so, we may connect the extremes of both arrays to each other.
↵
My solution : (https://mirror.codeforces.com/contest/1651/submission/271500008)↵
↵
MY idea : ↵
↵
Optimal strategy is to connect the extremes of the arrays to the other network. In doing so, we may connect the extremes of both arrays to each other.