Mitsogo Interview Question

To solve a logical question