Wrong Solution in the editorial


#1

I dont understand how the answer for this testcase is 2. I think it should be 1 as rather than choosing hole 1 mouse should choose hole 4.
1 3
3 1 4 5


#2

Bro the solution is correct, your test case is wrong.
N holes and N mice.
So vectors A and B have to be of the same size.