Expected output shows incorrect output


#1

A : [ 1, 2, 3, 8 ]
B : [ 1, 2, 3, 4, 8 ]
In this case result should be 0, right? The expected output shows 4. Do we have any constraint that size of both lists is same?


#2

The very first line is There are N Mice and N holes are placed in a straight line.
Please read the problem statement carefully.