WINIT Software Interview Question

as like compare element in two array using single loop and puzzles