Coviam Interview Question

puzzle question