Compulink Interview Question

Not very hard